From 825a29d89be8b5396833227ea2ed62c6188f9a3a Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 10 Mar 2018 19:34:29 +0000 Subject: [PATCH] Emit a debug message even if reducing the debug level to zero --- dbus-diagnostics.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbus-diagnostics.c b/dbus-diagnostics.c index a45a86d7..1bd48aaf 100644 --- a/dbus-diagnostics.c +++ b/dbus-diagnostics.c @@ -60,6 +60,8 @@ gboolean notify_verbosity_callback(ShairportSyncDiagnostics *skeleton, __attribute__((unused)) gpointer user_data) { gint th = shairport_sync_diagnostics_get_verbosity(skeleton); if ((th >= 0) && (th <= 3)) { + if (th==0) + debug(1, ">> log verbosity set to %d.", th); debuglev = th; debug(1, ">> log verbosity set to %d.", th); } else {