mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58: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
|
@ -574,7 +574,7 @@ void HTTP_Message::SubmitData(int len, const char* buf)
|
|||
{
|
||||
if ( buf != (const char*) data_buffer->Bytes() + buffer_offset ||
|
||||
buffer_offset + len > buffer_size )
|
||||
bro_logger->InternalError("buffer misalignment");
|
||||
reporter->InternalError("buffer misalignment");
|
||||
|
||||
buffer_offset += len;
|
||||
if ( buffer_offset >= buffer_size )
|
||||
|
@ -622,7 +622,7 @@ void HTTP_Message::SubmitEvent(int event_type, const char* detail)
|
|||
break;
|
||||
|
||||
default:
|
||||
bro_logger->InternalError("unrecognized HTTP message event");
|
||||
reporter->InternalError("unrecognized HTTP message event");
|
||||
}
|
||||
|
||||
MyHTTP_Analyzer()->HTTP_Event(category, detail);
|
||||
|
@ -1095,7 +1095,7 @@ int HTTP_Analyzer::HTTP_RequestLine(const char* line, const char* end_of_line)
|
|||
request_method = new StringVal(http_methods[i]);
|
||||
|
||||
if ( ! ParseRequest(rest, end_of_line) )
|
||||
bro_logger->InternalError("HTTP ParseRequest failed");
|
||||
reporter->InternalError("HTTP ParseRequest failed");
|
||||
|
||||
Conn()->Match(Rule::HTTP_REQUEST,
|
||||
(const u_char*) unescaped_URI->AsString()->Bytes(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue