diff options
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 8c9d9a79b..ac171027c 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -69,7 +69,12 @@ void LogManager::OpenFileLogs() std::string type = tag->getString("type"); std::string level = tag->getString("level"); int loglevel = DEFAULT; - if (level == "debug") + if (level == "rawio") + { + loglevel = RAWIO; + ServerInstance->Config->RawLog = true; + } + else if (level == "debug") { loglevel = DEBUG; } |