aboutsummaryrefslogtreecommitdiffstats
path: root/capture
diff options
context:
space:
mode:
Diffstat (limited to 'capture')
-rw-r--r--capture/capture_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture/capture_sync.c b/capture/capture_sync.c
index 88af85b9e6..2ef8cdaf3a 100644
--- a/capture/capture_sync.c
+++ b/capture/capture_sync.c
@@ -1097,7 +1097,7 @@ sync_pipe_run_command(char* const argv[], gchar **data, gchar **primary_msg,
int logging_enabled;
/* check if logging is actually enabled, otherwise don't expend the CPU generating logging */
- logging_enabled = ws_log_level_is_active(LOG_LEVEL_INFO);
+ logging_enabled = ws_log_message_is_active(WS_LOG_DOMAIN, LOG_LEVEL_INFO);
if (logging_enabled) {
start_time = g_get_monotonic_time();
ws_info("sync_pipe_run_command() starts");