diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-04 08:56:50 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-11-05 08:13:12 -0400 |
commit | 999d9250e7efc15f38448c2929bbe6d19dbb8013 (patch) | |
tree | 938ef9de07c68fb9617bfc9c05e653ce5e03aa0d /src/monitor | |
parent | 38064e75ff70a5d740e02a511217cdbc5584ffd2 (diff) | |
download | sssd-999d9250e7efc15f38448c2929bbe6d19dbb8013.tar.gz sssd-999d9250e7efc15f38448c2929bbe6d19dbb8013.tar.bz2 sssd-999d9250e7efc15f38448c2929bbe6d19dbb8013.zip |
Handle errors during log reopening better
Diffstat (limited to 'src/monitor')
-rw-r--r-- | src/monitor/monitor_sbus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monitor/monitor_sbus.c b/src/monitor/monitor_sbus.c index 034cd46d..c2106e86 100644 --- a/src/monitor/monitor_sbus.c +++ b/src/monitor/monitor_sbus.c @@ -184,7 +184,8 @@ int monitor_common_rotate_logs(DBusMessage *message, ret = rotate_debug_files(); if (ret) { - sss_log(SSS_LOG_ALERT, "Could not rotate debug files!\n"); + sss_log(SSS_LOG_ALERT, "Could not rotate debug files! [%d][%s]\n", + ret, strerror(ret)); return ret; } |