[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:
http://try.bro.org/#/?example=modules-log-factorial

I hope this helps,
Jan


More information about the Bro mailing list