summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
authorDukePyrolator <anope@s15355730.onlinehome-server.info>2010-06-22 21:33:29 +0200
committerDukePyrolator <anope@s15355730.onlinehome-server.info>2010-06-22 21:33:29 +0200
commit7e872db956da543b321e69cf5ff6c8d0866d9cc4 (patch)
tree4baea7bff2ac5c23bc6e926265200ff53b25563f /src/log.cpp
parent980a2feff88fc3c56b05cdace3eded467098b8c8 (diff)
changed the name of the logfile from servics.log.<date> to <date>.services.log to make windows users happy
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.cpp b/src/log.cpp
index 9ebdb4a6b..3ce47c526 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -30,7 +30,7 @@ static int get_logname(char *name, int count, struct tm *tm)
/* fix bug 577 */
strftime(timestamp, sizeof(timestamp), "%Y%m%d", tm);
- snprintf(name, count, "logs/%s.%s", log_filename.c_str(), timestamp);
+ snprintf(name, count, "logs/%s.%s", timestamp, log_filename.c_str());
curday = tm->tm_yday;
return 1;