From 99dd40a885ed3d42af4bbbde7ee2fc98830544d0 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Tue, 9 Aug 2011 13:01:05 +0200 Subject: New DEBUG facility - conversion https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT) --- src/monitor/monitor_sbus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/monitor/monitor_sbus.c') diff --git a/src/monitor/monitor_sbus.c b/src/monitor/monitor_sbus.c index 632de496f..a1c6ad338 100644 --- a/src/monitor/monitor_sbus.c +++ b/src/monitor/monitor_sbus.c @@ -204,7 +204,8 @@ errno_t monitor_common_rotate_logs(struct confdb_ctx *confdb, } if (debug_level != old_debug_level) { - DEBUG(0, ("Debug level changed to %d\n", debug_level)); + DEBUG(0, ("Debug level changed to %#.4x\n", debug_level)); + debug_level = debug_convert_old_level(debug_level); } return EOK; -- cgit