]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
logging: remove warning on missing debug messages
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 25 Sep 2014 07:46:44 +0000 (09:46 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 25 Sep 2014 09:12:23 +0000 (11:12 +0200)
The state of the DEBUG feature is now printed with chronyd version.

logging.c

index 3ba71fcfc8324a8aafe3bb41fa85dd6efcdee8c3..2aff130a7eb5b760d0861773bf98e17dee32e42d 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -211,8 +211,6 @@ void LOG_SetDebugLevel(int level)
 {
   debug_level = level;
   if (level >= DEBUG_LEVEL_PRINT_DEBUG) {
-    if (!DEBUG)
-      LOG(LOGS_WARN, LOGF_Logging, "Not compiled with full debugging support");
     log_debug_enabled = 1;
   }
 }