From 98db05434af4ca9c9e06225a90093d5f932e74b7 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 15 Jan 2023 16:40:34 +0000 Subject: [PATCH] ctl-client: Align log messages with other log messages --- src/ctl-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ctl-client.c b/src/ctl-client.c index 96539c5..34a8860 100644 --- a/src/ctl-client.c +++ b/src/ctl-client.c @@ -37,7 +37,7 @@ #include "table-printer.h" #define LOG(level, fmt, ...) \ - fprintf(stderr, "[%s:%d] <" level "> " fmt "\n", __FILE__, __LINE__, \ + fprintf(stderr, level ": %s: %d: " fmt "\n", __FILE__, __LINE__, \ ##__VA_ARGS__) #define WARN(fmt, ...) \ @@ -47,7 +47,7 @@ static bool do_debug = false; #define DEBUG(fmt, ...) \ if (do_debug) \ - LOG("DEBUG", fmt, ##__VA_ARGS__) + LOG("DEBUG", fmt, ##__VA_ARGS__) static struct cmd_info internal_events[] = { { .name = "wayvnc-startup",