]> git.ipfire.org Git - zone-sync.git/commitdiff
main: Don't go crazy on the debug log level
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 11 May 2026 16:01:01 +0000 (16:01 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 11 May 2026 16:01:01 +0000 (16:01 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
main.c

diff --git a/main.c b/main.c
index 784cebd8e78ba549aa774b30bb2651bd08a03cf1..7cfb07b3e68e83f3b8b3a5d6f014d43624e05055 100644 (file)
--- a/main.c
+++ b/main.c
@@ -146,9 +146,9 @@ static void setup_logging(void) {
        /* Create the log context and a default config */
        isc_log_create(ctx.memctx, &ctx.log, &logcfg);
 
-       /* Crank up debug verbosity */
+       // Crank up debug verbosity
        if (ctx.log_level == LOG_DEBUG)
-               isc_log_setdebuglevel(ctx.log, 99);
+               isc_log_setdebuglevel(ctx.log, 50);
 
        /* Define a channel that writes everything to stderr */
        isc_logdestination_t dest = {