time: don't log debug messages from debug logging

Bug: #5835.

Fixes: 31793aface ("time: Replace struct timeval with scalar value")
pull/8529/head
Victor Julien 4 years ago
parent 96b48d7104
commit 67634c561c

@ -666,7 +666,9 @@ SCError SCLogMessage(const SCLogLevel log_level, const char *file, const unsigne
}
/* get ts here so we log the same ts to each output */
SCTime_t ts = TimeGet();
struct timeval tval;
gettimeofday(&tval, NULL);
SCTime_t ts = SCTIME_FROM_TIMEVAL(&tval);
op_iface_ctx = sc_log_config->op_ifaces;
while (op_iface_ctx != NULL) {

Loading…
Cancel
Save