Hui Lin_Bro disable log stream is not working?

Hi,

In order to disable default logs, I follow the documentation and define bro_init as follows:

event bro_init() &priority = 5
{
Log::disable_stream(Conn::LOG);
Log::disable_stream(Notice::POLICY_LOG);
Log::disable_stream(PacketFilter::LOG);
Log::disable_stream(Syslog::LOG);
}

But, all logs are generated as usual, any comment?

Best,

Hui

Remove the priority.

Rule of thumb:
  Don't put a priority to your event handlers unless you know why you are giving a priority.

.Seth