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
|
@ -16,7 +16,7 @@ using namespace std;
|
|||
#include "Debug.h"
|
||||
#include "util.h"
|
||||
#include "PolicyFile.h"
|
||||
#include "Logger.h"
|
||||
#include "Reporter.h"
|
||||
|
||||
struct PolicyFile {
|
||||
PolicyFile () { filedata = 0; lmtime = 0; }
|
||||
|
@ -33,7 +33,7 @@ static PolicyFileMap policy_files;
|
|||
int how_many_lines_in(const char* policy_filename)
|
||||
{
|
||||
if ( ! policy_filename )
|
||||
bro_logger->InternalError("NULL value passed to how_many_lines_in\n");
|
||||
reporter->InternalError("NULL value passed to how_many_lines_in\n");
|
||||
|
||||
FILE* throwaway = fopen(policy_filename, "r");
|
||||
if ( ! throwaway )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue