diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-11 23:27:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-11 23:27:27 +0000 |
commit | 1eae3c2ad42df386967afa42ed13cc95e7a0dd91 (patch) | |
tree | b1bcd519c9f290842eb1637f30b55a1a825fc9e8 /src/logger.cpp | |
parent | c1ca268121c9c4d47614c28683a5c4f6bc461092 (diff) |
Remove 'default log' and <options:loglevel> (wtf?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |