notice log content into new log file

Hi
Is it possible to write Notice log content into new log file

Regards,
sunu

Hi sunu,

Is it possible to write Notice log content into new log file

I am not sure what you mean by new log file but you might want to have a
look at: https://www.bro.org/sphinx-git/frameworks/logging.html#filters

Best regards,
Jan

Hi,

@load base/frameworks/notice

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