summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-13 19:58:04 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-13 19:58:04 +0300
commitb7103fbcef86554476871ad363e2a6b3bad0b77e (patch)
tree263d71fdd32dbbc0026c10274b4d7fa54c30f25c /src/client.cpp
parentbc6e0ea4d7042ad48164b8bad69bff02ca5f8a5a (diff)
downloadplus-b7103fbcef86554476871ad363e2a6b3bad0b77e.tar.gz
plus-b7103fbcef86554476871ad363e2a6b3bad0b77e.tar.bz2
plus-b7103fbcef86554476871ad363e2a6b3bad0b77e.tar.xz
plus-b7103fbcef86554476871ad363e2a6b3bad0b77e.zip
Change chat logs dirs format to yyyy-mm/dd/file.log.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
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"));