From 8715fcb39bd8086cb59d978e9a6ae18aaae1f864 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 19 Oct 2010 15:11:10 -0400 Subject: Write log opening failures to the syslog If there is a problem with reopening the logs, it can be an audit trail issue. --- src/monitor/monitor_sbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/monitor/monitor_sbus.c') diff --git a/src/monitor/monitor_sbus.c b/src/monitor/monitor_sbus.c index 43e5b685e..034cd46d2 100644 --- a/src/monitor/monitor_sbus.c +++ b/src/monitor/monitor_sbus.c @@ -184,7 +184,7 @@ int monitor_common_rotate_logs(DBusMessage *message, ret = rotate_debug_files(); if (ret) { - DEBUG(1, ("Could not rotate debug files!\n")); + sss_log(SSS_LOG_ALERT, "Could not rotate debug files!\n"); return ret; } -- cgit