Disable useless logging for netflow_divide_counters_on_interval_length. Related #364

This commit is contained in:
Pavel Odintsov 2015-08-11 10:55:44 +02:00
parent 2e9402a603
commit c44575399a

View File

@ -974,6 +974,7 @@ void process_netflow_packet_v5(u_int8_t* packet, u_int len, std::string client_a
// This interval in milliseconds, convert it to seconds
int64_t interval_length = (fast_ntoh(nf5_flow->flow_finish) - fast_ntoh(nf5_flow->flow_start)) / 1000;
/*
if (interval_length > 0) {
logger << log4cpp::Priority::INFO << "NetFlow v5 from: " << client_addres_in_string_format
<< " start: " << fast_ntoh(nf5_flow->flow_start)
@ -981,6 +982,7 @@ void process_netflow_packet_v5(u_int8_t* packet, u_int len, std::string client_a
<< " interval length:" << interval_length
<< "\n";
}
*/
if (interval_length == 0) {
// it's OK