diff options
author | DukePyrolator <anope@s15355730.onlinehome-server.info> | 2010-06-22 21:33:29 +0200 |
---|---|---|
committer | DukePyrolator <anope@s15355730.onlinehome-server.info> | 2010-06-22 22:21:49 +0200 |
commit | f58d611edc87c566166a181e669317de5be56e46 (patch) | |
tree | 0fede5c7e2aaa3838474ba8996e505101627a300 | |
parent | 40db8af50ac8d75fa56414b7c467714a552f0fa1 (diff) |
changed the name of the logfile from servics.log.<date> to <date>.services.log to make windows users happy
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,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; |