forked from osmocom/wireshark
capture: Lower log level for debug output
This commit is contained in:
parent
75bb51eef9
commit
edf1e72d0c
|
@ -1112,9 +1112,9 @@ sync_pipe_run_command(char* const argv[], gchar **data, gchar **primary_msg,
|
|||
logging_enabled = ws_log_msg_is_active(WS_LOG_DOMAIN, LOG_LEVEL_INFO);
|
||||
if (logging_enabled) {
|
||||
start_time = g_get_monotonic_time();
|
||||
ws_info("sync_pipe_run_command() starts");
|
||||
ws_debug("sync_pipe_run_command() starts");
|
||||
for (i=0; argv[i] != 0; i++) {
|
||||
ws_debug(" argv[%d]: %s", i, argv[i]);
|
||||
ws_noisy(" argv[%d]: %s", i, argv[i]);
|
||||
}
|
||||
}
|
||||
/* do the actual sync pipe run command */
|
||||
|
@ -1123,7 +1123,7 @@ sync_pipe_run_command(char* const argv[], gchar **data, gchar **primary_msg,
|
|||
if (logging_enabled) {
|
||||
elapsed = (g_get_monotonic_time() - start_time) / 1e6;
|
||||
|
||||
ws_info("sync_pipe_run_command() ends, taking %.3fs, result=%d", elapsed, ret);
|
||||
ws_debug("sync_pipe_run_command() ends, taking %.3fs, result=%d", elapsed, ret);
|
||||
|
||||
}
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue