summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/main.c b/sway/main.c
index f8959009..3f2fcd94 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -23,11 +23,11 @@ static void sigchld_handle(int signal);
23 23
24static void wlc_log_handler(enum wlc_log_type type, const char *str) { 24static void wlc_log_handler(enum wlc_log_type type, const char *str) {
25 if (type == WLC_LOG_ERROR) { 25 if (type == WLC_LOG_ERROR) {
26 sway_log(L_ERROR, "%s", str); 26 sway_log(L_ERROR, "[wlc] %s", str);
27 } else if (type == WLC_LOG_WARN) { 27 } else if (type == WLC_LOG_WARN) {
28 sway_log(L_INFO, "%s", str); 28 sway_log(L_INFO, "[wlc] %s", str);
29 } else { 29 } else {
30 sway_log(L_DEBUG, "%s", str); 30 sway_log(L_DEBUG, "[wlc] %s", str);
31 } 31 }
32} 32}
33 33