[Bro-Dev] #836: Make reporter.log errors go to stderr when run from command-line
Bro Tracker
bro at tracker.bro-ids.org
Fri Jul 27 11:55:01 PDT 2012
#836: Make reporter.log errors go to stderr when run from command-line
------------------------------+------------------------
Reporter: amannb | Owner: seth
Type: Feature Request | Status: assigned
Priority: Normal | Milestone: Bro2.1
Component: Bro | Version: git/master
Resolution: | Keywords:
------------------------------+------------------------
Comment (by jsiwek):
> I'll try and get it finished today. I'm a little unsure how to handle
it because the code in the core prints to stderr already. Should I just
make the core printing cease if the reporter events are being handled?
That might be weird in the case where a user doesn't want to use the
provided reporter framework, but still wants to use their own reporter
event handlers for other purposes, they'd have to re-implement the script
level stderr output on their own if they want it. Probably not a common
case, but maybe it's better to just make the core do the stderr output,
but still keep the script level options that can toggle whether to do it
or not?
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/836#comment:7>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list