diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-13 19:58:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-13 19:58:04 +0300 |
commit | b7103fbcef86554476871ad363e2a6b3bad0b77e (patch) | |
tree | 263d71fdd32dbbc0026c10274b4d7fa54c30f25c /src/client.cpp | |
parent | bc6e0ea4d7042ad48164b8bad69bff02ca5f8a5a (diff) | |
download | manaverse-b7103fbcef86554476871ad363e2a6b3bad0b77e.tar.gz manaverse-b7103fbcef86554476871ad363e2a6b3bad0b77e.tar.bz2 manaverse-b7103fbcef86554476871ad363e2a6b3bad0b77e.tar.xz manaverse-b7103fbcef86554476871ad363e2a6b3bad0b77e.zip |
Change chat logs dirs format to yyyy-mm/dd/file.log.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index 8a6ec2116..7de58368c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -322,9 +322,9 @@ Client::Client(const Options &options): chatLogger = new ChatLogger; if (mOptions.chatLogDir == "") - chatLogger->setLogDir(mLocalDataDir + std::string("/logs/")); + chatLogger->setBaseLogDir(mLocalDataDir + std::string("/logs/")); else - chatLogger->setLogDir(mOptions.chatLogDir); + chatLogger->setBaseLogDir(mOptions.chatLogDir); logger->setLogToStandardOut(config.getBoolValue("logToStandardOut")); |