diff -r d8a999d95092 -r f7f1bbcc85e4 core/GameDataFetcher.cpp --- a/core/GameDataFetcher.cpp Sun Dec 28 18:28:57 2008 -0500 +++ b/core/GameDataFetcher.cpp Sun Dec 28 19:56:40 2008 -0500 @@ -126,9 +126,15 @@ GetAdjustedTime(&t); tm *curtime = localtime(&t); - g_SourceMod.BuildPath(Path_SM, log_path, sizeof(log_path), "logs/gamedata/L%02d%02d.log", curtime->tm_mon + 1, curtime->tm_mday); + g_SourceMod.BuildPath(Path_SM, + log_path, + sizeof(log_path), + "logs/gamedata/L%04d%02d%02d.log", + curtime->tm_year + 1900, + curtime->tm_mon + 1, + curtime->tm_mday); - logfile = fopen(log_path, "a"); + logfile = fopen(log_path, "at"); if (!logfile) {