From 3eef42c385e5c0f7cc4d99139bd8934ebcb3a5a8 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 6 Aug 2021 16:24:44 +0200 Subject: [PATCH] Let's log everything except ULOG_DEBUG on the console when booting. Better than missing an important message. --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 1a7ba95a2..e75261ef7 100644 --- a/src/log.c +++ b/src/log.c @@ -880,7 +880,7 @@ void do_unreal_log_disk(LogLevel loglevel, char *subsystem, char *event_id, char //RunHook3(HOOKTYPE_LOG, flags, timebuf, text_buf); // FIXME: call with more parameters and possibly not even 'text_buf' at all - if (!loop.ircd_forked && (loglevel >= ULOG_ERROR)) + if (!loop.ircd_forked && (loglevel > ULOG_DEBUG)) { #ifdef _WIN32 win_log("* %s", text_buf);