summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-12 21:43:23 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-12 21:43:23 +0300
commit0cb2b34eacd0081f82e7d68bbf57149f3549bfc9 (patch)
treefb7c5480f82cdfbadf138ae341c923b17c58da65 /src/client.cpp
parent2128b93673978b66770ec5f55344ffb258f0b868 (diff)
downloadplus-0cb2b34eacd0081f82e7d68bbf57149f3549bfc9.tar.gz
plus-0cb2b34eacd0081f82e7d68bbf57149f3549bfc9.tar.bz2
plus-0cb2b34eacd0081f82e7d68bbf57149f3549bfc9.tar.xz
plus-0cb2b34eacd0081f82e7d68bbf57149f3549bfc9.zip
Add init debug messages.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 78688fa03..7f6e37aa1 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -273,6 +273,7 @@ Client::Client(const Options &options):
logger->setLogFile(mLocalDataDir + std::string("/manaplus.log"));
initConfiguration();
+ logger->log("init 4");
logger->setDebugLog(config.getBoolValue("debugLog"));
storeSafeParameters();
@@ -1573,6 +1574,7 @@ void Client::initConfiguration()
{
fclose(configFile);
config.init(configPath);
+ logger->log("init 3");
config.setDefaultValues(getConfigDefaults());
logger->log("configPath: " + configPath);
}