Created
July 11, 2017 21:53
-
-
Save bndabbs/34c79f7e5c85764c326b16bc87d05826 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event bro_init() | |
{ | |
for (stream in Log::active_streams) | |
{ | |
local filter = Log::get_filter(stream, "default"); | |
filter$path = fmt("bro_%s", filter$path); | |
Log::add_filter(stream, filter); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment