diff --git a/src/TConsole.cpp b/src/TConsole.cpp index f6eb1fa..5566cad 100644 --- a/src/TConsole.cpp +++ b/src/TConsole.cpp @@ -50,7 +50,7 @@ std::string GetDate() { } void TConsole::BackupOldLog() { - fs::path Path = "Server.log"; + fs::path Path = "server.log"; if (fs::exists(Path)) { auto OldLog = Path.filename().stem().string() + ".old.log"; try { @@ -98,7 +98,7 @@ void TConsole::BackupOldLog() { } void TConsole::StartLoggingToFile() { - mLogFileStream.open("Server.log"); + mLogFileStream.open("server.log"); Application::Console().Internal().on_write = [this](const std::string& ToWrite) { // TODO: Sanitize by removing all ansi escape codes (vt100) std::unique_lock Lock(mLogFileStreamMtx);