mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 18:39:40 +00:00
Fix verbose log level in server
This commit is contained in:
parent
68f974d999
commit
df13e9c37a
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ int main(int argc, char *argv[])
|
|||
loadSettings(mgr);
|
||||
|
||||
int logLevel = mgr.getInt("loglevel", "General");
|
||||
if (logLevel < Log::LOG_INFO || logLevel > Log::LOG_FATAL)
|
||||
logLevel = Log::LOG_INFO;
|
||||
if (logLevel < Log::LOG_VERBOSE || logLevel > Log::LOG_FATAL)
|
||||
logLevel = Log::LOG_VERBOSE;
|
||||
|
||||
// Some objects used to redirect cout and cerr
|
||||
// Scope must be here, so this still works inside the catch block for logging exceptions
|
||||
|
|
Loading…
Reference in a new issue