summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2015-10-27 09:55:11 -0400
committerLukas Slebodnik <lslebodn@redhat.com>2015-10-29 10:43:58 +0100
commit284c22c191963f11e5c07ba6d14dcd8dc7e494fe (patch)
tree43d39be7528e932cf8af67f76de08f8fa93779c5
parent152fed23797c8950ca18cf6dc2bddb61a3f615c8 (diff)
downloadsssd-284c22c191963f11e5c07ba6d14dcd8dc7e494fe.tar.gz
sssd-284c22c191963f11e5c07ba6d14dcd8dc7e494fe.tar.xz
sssd-284c22c191963f11e5c07ba6d14dcd8dc7e494fe.zip
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 <lslebodn@redhat.com> Reviewed-by: Petr Cech <pcech@redhat.com>
-rw-r--r--src/monitor/monitor.c5
1 files changed, 3 insertions, 2 deletions
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;