[tor-bugs] #4445 [Torflow]: Gather WARN and ERROR log lines from bwauth children in aggregate.py

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Nov 29 00:18:56 UTC 2011


#4445: Gather WARN and ERROR log lines from bwauth children in aggregate.py
-------------------------+--------------------------------------------------
 Reporter:  mikeperry    |          Owner:  mikeperry
     Type:  enhancement  |         Status:  new      
 Priority:  major        |      Milestone:           
Component:  Torflow      |        Version:           
 Keywords:               |         Parent:           
   Points:               |   Actualpoints:           
-------------------------+--------------------------------------------------

Comment(by mikeperry):

 Actually, this is even simpler than editing aggregate.py. We should just
 add a grep to cron.sh that only egrep's for the past hour's worth of logs
 using shell expansion. Something like:

 {{{
 grep "`date +"%b %d %H:"`" $SCANNER_DIR/data/scanner.[1-4]/bw.log | egrep
 "WARN|ERROR"
 }}}

 I suspect we're going to want to finish #4079 first though. After looking
 at some current logs, these children sure are noisy.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4445#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list