[Bro] notice log content into new log file

Jan Grashöfer jan.grashoefer at gmail.com
Thu Jan 19 01:50:36 PST 2017

Hi sunu,

>                           Above code is my sample code , and the code
> will generate notice.log when tor found below code is the part which
> will write the content in notice.log , i want this content into
> separate log

so what you want is to write some data to your own log stream. Have a
look at: https://www.bro.org/sphinx-git/frameworks/logging.html#streams

Additionally there is an example on try.bro.org:

I hope this helps,

More information about the Bro mailing list