]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/util/logger.c
First working IPC reconnect
[netatalk.git] / libatalk / util / logger.c
index 5f1c4a727ee33233cd82a75f439b0cd20efc5a29..e13ada1750a8019900f9856ea6f8c902a7746768 100644 (file)
@@ -539,6 +539,10 @@ void make_log_entry(enum loglevels loglevel, enum logtypes logtype,
         temp_buffer[len+1] = 0;
     }
 
+    if (type_configs[logtype].level >= log_debug)
+        goto log; /* bypass flooding checks */
+
+    goto log;
     /* Prevent flooding: hash the message and check if we got the same one recently */
     int hash = hash_message(temp_buffer) + log_src_linenumber;