Skip to content

Commit

Permalink
Report the last few exceptions killing mark_published.py
Browse files Browse the repository at this point in the history
  • Loading branch information
painter1 committed Mar 29, 2021
1 parent 11a9a09 commit 6ca1b56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def interesting_discovery_errors( lines ):
print ' ','{:30.30} {:5d}'.format(fb,fb_dict[dn][fb])
# pprint( fb_dict )

print "\nretraction summary since%s:"%start_time
print "\nretraction summary since %s:"%start_time
for retc in retraction_counts(start_time):
print retc

Expand Down
4 changes: 4 additions & 0 deletions reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ echo >> $LOGFILE
echo transfer.log: >> $LOGFILE 2>&1
/home/painter/scripts/reports.py $PERF_START_DATE >> $LOGFILE 2>&1

echo >> $LOGFILE
echo last mark_published errors: >> $LOGFILE 2>&1
grep "Exception caught in mark_published_all" /p/css03/scratch/logs/mark_published.log | tail -3 >> $LOGFILE 2>&1

echo >> $LOGFILE
echo last daemon starts: >> $LOGFILE 2>&1
tail -3 /var/log/synda/daemon/daemon_start.log >> $LOGFILE 2>&1

0 comments on commit 6ca1b56

Please sign in to comment.