summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-16 20:21:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-16 20:21:38 +0300
commit82179b0fe9729eea106ebfdfc0c8db07c19bee86 (patch)
tree7081fbeec5f2523c6b67a0ad902e492255180fac /src
parent44d1401d063fe55b3922fe078ed470b2d144e665 (diff)
downloadmanaplus-82179b0fe9729eea106ebfdfc0c8db07c19bee86.tar.gz
manaplus-82179b0fe9729eea106ebfdfc0c8db07c19bee86.tar.bz2
manaplus-82179b0fe9729eea106ebfdfc0c8db07c19bee86.tar.xz
manaplus-82179b0fe9729eea106ebfdfc0c8db07c19bee86.zip
Show log path in console at start.
Also fix configuration path logging.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp1
-rw-r--r--src/configmanager.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ae5daa3cb..5aae6960c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -299,6 +299,7 @@ void Client::gameInit()
settings.logFileName = settings.options.logFileName;
else
settings.logFileName = settings.localDataDir + "/manaplus.log";
+ logger->log("Log file: " + settings.logFileName);
logger->setLogFile(settings.logFileName);
#ifdef USE_FUZZER
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index 6a2f9f708..7acc8ebf5 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -143,7 +143,7 @@ void ConfigManager::initConfiguration()
config.init(configPath);
logger->log1("init 3");
config.setDefaultValues(getConfigDefaults());
- logger->log("configPath: " + configPath);
+ logger->log("configuration file: " + configPath);
}
}