summaryrefslogtreecommitdiff
path: root/src/account-server/main-account.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-10-20 00:21:42 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-10-20 00:24:27 +0200
commitf2515c86fb3e2f7718441187ddc9effe82abbfcd (patch)
tree3a1a00d825f7356691d55cb888d0650e322be3bf /src/account-server/main-account.cpp
parent00415834dce15837f0b96e8f8cb9857d35731224 (diff)
downloadmanaserv-f2515c86fb3e2f7718441187ddc9effe82abbfcd.tar.gz
manaserv-f2515c86fb3e2f7718441187ddc9effe82abbfcd.tar.bz2
manaserv-f2515c86fb3e2f7718441187ddc9effe82abbfcd.tar.xz
manaserv-f2515c86fb3e2f7718441187ddc9effe82abbfcd.zip
Fixed the append behaviour of logger::setLogFile().
Also made both servers appends on the main log at start if they aren't empty. This permits not to lose the previous logs when quicky restarting the servers. Trivial fix.
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r--src/account-server/main-account.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp
index 159df4c6..af6e99fb 100644
--- a/src/account-server/main-account.cpp
+++ b/src/account-server/main-account.cpp
@@ -146,7 +146,7 @@ static void initialize()
PHYSFS_init("");
// Initialize the logger.
- Logger::setLogFile(logFile);
+ Logger::setLogFile(logFile, true);
// Write the messages to both the screen and the log file.
Logger::setTeeMode(