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

@ -9,7 +9,7 @@
#include "Net.h"
#include "NetVar.h"
#include "UDP.h"
#include "Logger.h"
#include "Reporter.h"
UDP_Analyzer::UDP_Analyzer(Connection* conn)
: TransportLayerAnalyzer(AnalyzerTag::UDP, conn)
@ -136,7 +136,7 @@ void UDP_Analyzer::DeliverPacket(int len, const u_char* data, bool is_orig,
request_len += ulen;
#ifdef DEBUG
if ( request_len < 0 )
bro_logger->Warning("wrapping around for UDP request length");
reporter->Warning("wrapping around for UDP request length");
#endif
}
@ -154,7 +154,7 @@ void UDP_Analyzer::DeliverPacket(int len, const u_char* data, bool is_orig,
reply_len += ulen;
#ifdef DEBUG
if ( reply_len < 0 )
bro_logger->Warning("wrapping around for UDP reply length");
reporter->Warning("wrapping around for UDP reply length");
#endif
}