From 1bf6ebedaaa7d0d0f6d7458b417b56f1f8b07472 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 3 Oct 2012 21:57:45 +0200 Subject: Change the log level of two DEBUG messages in check_domain_ranges https://fedorahosted.org/sssd/ticket/1562 --- src/monitor/monitor.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/monitor') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 920d01c0..fe46e172 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -743,8 +743,8 @@ static int check_domain_ranges(struct sss_domain_info *domains) while (dom) { other = dom->next; if (dom->id_max && dom->id_min > dom->id_max) { - DEBUG(1, ("Domain '%s' does not have a valid ID range\n", - dom->name)); + DEBUG(SSSDBG_CRIT_FAILURE, + ("Domain '%s' does not have a valid ID range\n", dom->name)); return EINVAL; } @@ -753,8 +753,9 @@ static int check_domain_ranges(struct sss_domain_info *domains) id_max = MIN((dom->id_max ? dom->id_max : UINT32_MAX), (other->id_max ? other->id_max : UINT32_MAX)); if (id_min <= id_max) { - DEBUG(1, ("Domains '%s' and '%s' overlap in range %u - %u\n", - dom->name, other->name, id_min, id_max)); + DEBUG(SSSDBG_MINOR_FAILURE, + ("Domains '%s' and '%s' overlap in range %u - %u\n", + dom->name, other->name, id_min, id_max)); } other = other->next; } -- cgit