[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #4445 [Torflow]: Gather WARN and ERROR log lines from bwauth children in aggregate.py
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs