diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-18 19:35:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-18 19:35:50 +0300 |
commit | 31459efbd3e63433b11fbf1005b3aa116d9bc3c1 (patch) | |
tree | 052204ada4255cb4f43267f933a2afae1478efd3 /src/progs/dyecmd/client.cpp | |
parent | e7537ca6033a13ff1d21aac4a61a49ef325684b6 (diff) | |
download | mv-31459efbd3e63433b11fbf1005b3aa116d9bc3c1.tar.gz mv-31459efbd3e63433b11fbf1005b3aa116d9bc3c1.tar.bz2 mv-31459efbd3e63433b11fbf1005b3aa116d9bc3c1.tar.xz mv-31459efbd3e63433b11fbf1005b3aa116d9bc3c1.zip |
Redirect logging to file after log file opened.s20170918
If log file open failed, redirect logging back to stdout.
Diffstat (limited to 'src/progs/dyecmd/client.cpp')
-rw-r--r-- | src/progs/dyecmd/client.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index 30451dbf5..631469f2b 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -222,8 +222,6 @@ void Client::gameInit() chatLogger->setBaseLogDir(settings.options.chatLogDir); } */ - logger->setLogToStandardOut(config.getBoolValue("logToStandardOut")); - // Log the client version logger->log1(FULL_VERSION); logger->log("Start configPath: " + config.getConfigPath()); |