From 1eae3c2ad42df386967afa42ed13cc95e7a0dd91 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Apr 2008 23:27:27 +0000 Subject: Remove 'default log' and (wtf?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/logger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/logger.cpp') diff --git a/src/logger.cpp b/src/logger.cpp index 8e887830d..c8d7e8b39 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -49,11 +49,11 @@ void LogManager::SetupNoFork() if (!noforkstream) { FileWriter* fw = new FileWriter(ServerInstance, stdout); - noforkstream = new FileLogStream(ServerInstance, ServerInstance->Config->forcedebug ? DEBUG : ServerInstance->Config->LogLevel, fw); + noforkstream = new FileLogStream(ServerInstance, ServerInstance->Config->forcedebug ? DEBUG : DEFAULT, fw); } else { - noforkstream->ChangeLevel(ServerInstance->Config->forcedebug ? DEBUG : ServerInstance->Config->LogLevel); + noforkstream->ChangeLevel(ServerInstance->Config->forcedebug ? DEBUG : DEFAULT); } AddLogType("*", noforkstream, false); } -- cgit v1.2.3