mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
No longer write to the PacketFilter::LOG stream if not reading traffic.
This commit is contained in:
parent
58692ef9e0
commit
507b51c957
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,8 @@ function install()
|
|||
$sub=default_filter]);
|
||||
}
|
||||
|
||||
Log::write(PacketFilter::LOG, info);
|
||||
if ( reading_live_traffic() || reading_traces() )
|
||||
Log::write(PacketFilter::LOG, info);
|
||||
}
|
||||
|
||||
event bro_init() &priority=10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue