diff options
-rw-r--r-- | src/monitor/monitor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index fac16442..956efb13 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -913,6 +913,10 @@ static errno_t get_ping_config(struct mt_ctx *ctx, const char *path, svc->ping_time = MONITOR_DEF_PING_TIME; } + DEBUG(SSSDBG_CONF_SETTINGS, + ("Time between service pings for [%s]: [%d]\n", + svc->name, svc->ping_time)); + ret = confdb_get_int(ctx->cdb, path, CONFDB_SERVICE_FORCE_TIMEOUT, MONITOR_DEF_FORCE_TIME, &svc->kill_time); @@ -927,6 +931,10 @@ static errno_t get_ping_config(struct mt_ctx *ctx, const char *path, svc->kill_time = MONITOR_DEF_FORCE_TIME; } + DEBUG(SSSDBG_CONF_SETTINGS, + ("Time between SIGTERM and SIGKILL for [%s]: [%d]\n", + svc->name, svc->kill_time)); + return EOK; } |