summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp2
-rw-r--r--src/configuration.cpp2
2 files changed, 4 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);
}
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 21d9d998f..5dca06b56 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -405,8 +405,10 @@ void Configuration::init(const std::string &filename, bool useResManager)
else
{
mConfigPath = filename;
+ logger->log("init 1");
mDirectory = getRealPath(getFileDir(filename));
}
+ logger->log("init 2");
if (!doc.rootNode())
{