From 05315b44feaa9819e62f18477f2c6d20914eb7ce Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 25 Sep 2009 13:20:13 +0200 Subject: Send debug messages to logfile Introduces a new option --debug-to-files which makes SSSD output its debug information to a file instead of stderr, which is still the default. Also introduces a new confdb option debug_to_files which does the same, but can be specified per-service in the config file. The logfiles are stored in /var/log/sssd by default. Changes the initscript to log to files by default. --- server/sysv/sssd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sysv/sssd') diff --git a/server/sysv/sssd b/server/sysv/sssd index 138540166..6ef7862cb 100644 --- a/server/sysv/sssd +++ b/server/sysv/sssd @@ -38,7 +38,7 @@ PID_FILE=/var/run/sssd.pid start() { [ -x $SSSD ] || exit 5 echo -n $"Starting $prog: " - daemon $SSSD -D 2>/dev/null && success || failure + daemon $SSSD -f -D && success || failure RETVAL=$? echo [ "$RETVAL" = 0 ] && touch $LOCK_FILE -- cgit