From: Mike Brady Date: Sat, 10 Mar 2018 19:34:29 +0000 (+0000) Subject: Emit a debug message even if reducing the debug level to zero X-Git-Tag: 3.2d29~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=825a29d89be8b5396833227ea2ed62c6188f9a3a;p=thirdparty%2Fshairport-sync.git Emit a debug message even if reducing the debug level to zero --- 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 {