summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-10-03 21:57:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-04 10:59:20 +0200
commit1bf6ebedaaa7d0d0f6d7458b417b56f1f8b07472 (patch)
treec47cef2798ca59b5bf8bacb793b54e696d70077b
parentc3869cac3143e3084e95521d76fe7345b3c8d00f (diff)
downloadsssd_unused-1bf6ebedaaa7d0d0f6d7458b417b56f1f8b07472.tar.gz
sssd_unused-1bf6ebedaaa7d0d0f6d7458b417b56f1f8b07472.tar.xz
sssd_unused-1bf6ebedaaa7d0d0f6d7458b417b56f1f8b07472.zip
Change the log level of two DEBUG messages in check_domain_ranges
https://fedorahosted.org/sssd/ticket/1562
-rw-r--r--src/monitor/monitor.c9
1 files changed, 5 insertions, 4 deletions
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;
}