GH-236: Add zeek_script_loaded event, deprecate bro_script_loaded

This commit is contained in:
Jon Siwek 2019-04-19 12:00:37 -07:00
parent a994be9eeb
commit 3ea34d6ea3
11 changed files with 58 additions and 12 deletions

View file

@ -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))]);
}