mirror of
https://github.com/anope/anope.git
synced 2026-07-02 16:13:12 +02:00
changed the name of the logfile from servics.log.<date> to <date>.services.log to make windows users happy
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user