From 284c22c191963f11e5c07ba6d14dcd8dc7e494fe Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 27 Oct 2015 09:55:11 -0400 Subject: Monitor: Show service pings at debug level 8 SSSDBG_CONF_SETTINGS is reserved for configuration information. These pings are generally just noise (when they fail, this is logged at SSDBG_FATAL_FAILURE). We should only log these at SSSDBG_TRACE_INTERNAL. Signed-off-by: Lukas Slebodnik Reviewed-by: Petr Cech --- src/monitor/monitor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 3776caba4..89ac882d3 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -2530,7 +2530,7 @@ static int service_send_ping(struct mt_svc *svc) return ENXIO; } - DEBUG(SSSDBG_CONF_SETTINGS,"Pinging %s\n", svc->name); + DEBUG(SSSDBG_TRACE_INTERNAL, "Pinging %s\n", svc->name); /* * Set up identity request @@ -2592,7 +2592,8 @@ static void ping_check(DBusPendingCall *pending, void *data) /* ok peer replied, * make sure we reset the failure counter in the service structure */ - DEBUG(SSSDBG_CONF_SETTINGS,"Service %s replied to ping\n", svc->name); + DEBUG(SSSDBG_TRACE_INTERNAL, + "Service %s replied to ping\n", svc->name); svc->failed_pongs = 0; break; -- cgit