mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -28,7 +28,7 @@ DebugLogger::DebugLogger(const char* filename)
|
|||
|
||||
file = fopen(filename, "w");
|
||||
if ( ! file )
|
||||
bro_logger->FatalError("can't open '%s' for debugging output.", filename);
|
||||
reporter->FatalError("can't open '%s' for debugging output.", filename);
|
||||
|
||||
setvbuf(file, NULL, _IOLBF, 0);
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ void DebugLogger::EnableStreams(const char* s)
|
|||
if ( strcasecmp("verbose", tok) == 0 )
|
||||
verbose = true;
|
||||
else
|
||||
bro_logger->InternalError("unknown debug stream %s\n", tok);
|
||||
reporter->InternalError("unknown debug stream %s\n", tok);
|
||||
}
|
||||
|
||||
tok = strtok(0, ",");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue