[Bro-Dev] #836: Make reporter.log errors go to stderr when run from command-line

Bro Tracker bro at tracker.bro-ids.org
Thu Jun 28 12:45:57 PDT 2012


#836: Make reporter.log errors go to stderr when run from command-line
-----------------------------+------------------------
 Reporter:  amannb           |      Owner:
     Type:  Feature Request  |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  Bro              |    Version:  git/master
 Keywords:                   |
-----------------------------+------------------------
 After talking with Seth for a bit about this I think we should consider
 outputting error messages that go to reporter.log (and perhaps warnings)
 to stderr when Bro is running for the command line. broctl could disable
 those outputs (with a command-line or script-level switch).

 I think this would make important errors in scripts much more visible to
 the user. It is easy to forget to check reporter.log when experimenting
 with stuff, when reporter.log might show the solution at once (happened to
 me a couple of times). And I am apparently not alone in that - especially
 new users might not know that fatal error messages will end up in
 reporter.log (see for example todays input-framework question on the
 mailing list).

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/836>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list