mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Renaming the Logger to Reporter.
Also changing output to not include timestamps when we haven't started processing packets yet.
This commit is contained in:
parent
93894eed9b
commit
66e2c3b623
123 changed files with 722 additions and 713 deletions
|
@ -114,7 +114,7 @@ int Specific_RE_Matcher::Compile(int lazy)
|
|||
RE_set_input(pattern_text);
|
||||
if ( RE_parse() )
|
||||
{
|
||||
bro_logger->Error("error compiling pattern /%s/", pattern_text);
|
||||
reporter->Error("error compiling pattern /%s/", pattern_text);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -134,7 +134,7 @@ int Specific_RE_Matcher::Compile(int lazy)
|
|||
int Specific_RE_Matcher::CompileSet(const string_list& set, const int_list& idx)
|
||||
{
|
||||
if ( set.length() != idx.length() )
|
||||
bro_logger->InternalError("compileset: lengths of sets differ");
|
||||
reporter->InternalError("compileset: lengths of sets differ");
|
||||
|
||||
rem = this;
|
||||
|
||||
|
@ -145,7 +145,7 @@ int Specific_RE_Matcher::CompileSet(const string_list& set, const int_list& idx)
|
|||
RE_set_input(set[i]);
|
||||
if ( RE_parse() )
|
||||
{
|
||||
bro_logger->Error("error compiling pattern /%s/", set[i]);
|
||||
reporter->Error("error compiling pattern /%s/", set[i]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue