Shared/Logs: Add support to .server set loglevel command after 003d67708b

Update the lowest log level when using ".server set loglevel" command.
This commit is contained in:
jackpoz
2015-03-03 21:11:08 +01:00
parent 003d67708b
commit 43f74fd8cf

View File

@@ -324,6 +324,9 @@ bool Log::SetLogLevel(std::string const& name, const char* newLevelc, bool isLog
return false;
it->second.setLogLevel(newLevel);
if (newLevel != LOG_LEVEL_DISABLED && newLevel < lowestLogLevel)
lowestLogLevel = newLevel;
}
else
{