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:
Robin Sommer 2011-07-01 09:22:33 -07:00
parent 93894eed9b
commit 66e2c3b623
123 changed files with 722 additions and 713 deletions

View file

@ -127,7 +127,7 @@ void Contents_Rsh_Analyzer::DoDeliver(int len, const u_char* data)
break;
default:
bro_logger->InternalError("bad state in Contents_Rsh_Analyzer::DoDeliver");
reporter->InternalError("bad state in Contents_Rsh_Analyzer::DoDeliver");
break;
}
}
@ -179,7 +179,7 @@ void Rsh_Analyzer::DeliverStream(int len, const u_char* data, bool orig)
void Rsh_Analyzer::ClientUserName(const char* s)
{
if ( client_name )
bro_logger->InternalError("multiple rsh client names");
reporter->InternalError("multiple rsh client names");
client_name = new StringVal(s);
}
@ -187,7 +187,7 @@ void Rsh_Analyzer::ClientUserName(const char* s)
void Rsh_Analyzer::ServerUserName(const char* s)
{
if ( username )
bro_logger->InternalError("multiple rsh initial client names");
reporter->InternalError("multiple rsh initial client names");
username = new StringVal(s);
}