mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08: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
|
@ -113,7 +113,7 @@ bool RuleConditionPayloadSize::DoMatch(Rule* rule, RuleEndpointState* state,
|
|||
return payload_size >= val;
|
||||
|
||||
default:
|
||||
bro_logger->InternalError("unknown comparision type");
|
||||
reporter->InternalError("unknown comparision type");
|
||||
}
|
||||
|
||||
// Should not be reached
|
||||
|
@ -135,7 +135,7 @@ bool RuleConditionEval::DoMatch(Rule* rule, RuleEndpointState* state,
|
|||
{
|
||||
if ( ! id->HasVal() )
|
||||
{
|
||||
bro_logger->Error("undefined value");
|
||||
reporter->Error("undefined value");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue