mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
GH-236: Add zeek_script_loaded event, deprecate bro_script_loaded
This commit is contained in:
parent
a994be9eeb
commit
3ea34d6ea3
11 changed files with 58 additions and 12 deletions
|
@ -32,7 +32,7 @@ event zeek_init() &priority=5
|
|||
Log::create_stream(LoadedScripts::LOG, [$columns=Info, $path="loaded_scripts"]);
|
||||
}
|
||||
|
||||
event bro_script_loaded(path: string, level: count)
|
||||
event zeek_script_loaded(path: string, level: count)
|
||||
{
|
||||
Log::write(LoadedScripts::LOG, [$name=cat(get_indent(level), compress_path(path))]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue