Disable useless logging for netflow_divide_counters_on_interval_length. Related #364
This commit is contained in:
parent
2e9402a603
commit
c44575399a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue