On 08/07/2012 10:02 AM, Jakub Hrozek wrote:
On Tue, Aug 07, 2012 at 09:58:58AM +0200, Pavel Březina wrote:
Ondřej found this when reviewing "sssd does not warn into sssd.log for
broken configurations".
Please also change the debug level to new-style macro while changing the
content.
Done. New patch is attached.
From fbda4b2ced6d7fb39cccb7548970cce94f97bd41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrez...@redhat.com>
Date: Tue, 7 Aug 2012 09:55:38 +0200
Subject: [PATCH] Add end of line to debug message
---
src/monitor/monitor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index 201d9fa8dd01977ff5455da053fff4c2bd4fcec5..1b310766964e2a7b51a95f7c49c353566e40d93a 100644
--- a/src/monitor/monitor.c
+++ b/src/monitor/monitor.c
@@ -2522,8 +2522,8 @@ int main(int argc, const char *argv[])
"Cannot read config file %s, please check if permissions "
"are 0600 and the file is owned by root.root", config_file);
} else {
- DEBUG(1, ("Error loading configuration database: [%d]: %s",
- ret, strerror(ret)));
+ DEBUG(SSSDBG_CRIT_FAILURE, ("Error loading configuration database: "
+ "[%d]: %s\n", ret, strerror(ret)));
sss_log(SSS_LOG_ALERT, "Cannot load configuration database");
}
return 4;
--
1.7.6.5
_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel