mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Use consistent zeek_init priority for Log::create_stream calls
Typically in base scripts, Log::create_stream() is called in zeek_init() handler with &priority=5 such that it will have already been created in the default zeek_init() &priority=0.
This commit is contained in:
parent
270702cacb
commit
7a748526c0
3 changed files with 3 additions and 3 deletions
|
@ -145,7 +145,7 @@ event Known::host_found(info: HostsInfo)
|
|||
event known_host_add(info);
|
||||
}
|
||||
|
||||
event zeek_init()
|
||||
event zeek_init() &priority=5
|
||||
{
|
||||
Log::create_stream(Known::HOSTS_LOG, [$columns=HostsInfo, $ev=log_known_hosts, $path="known_hosts"]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue