From 996fed1afb265ffb95bb959d094eb2c22cb0a561 Mon Sep 17 00:00:00 2001 From: MangosArentLiterature <58055358+MangosArentLiterature@users.noreply.github.com> Date: Fri, 2 Apr 2021 18:43:09 -0500 Subject: [PATCH] Change log file directory --- src/logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.cpp b/src/logger.cpp index 688d6bb..f43e0f4 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -92,7 +92,7 @@ void Logger::flush() // raiden suggested this, but idk if i want to use it // QString time = QDateTime::currentDateTime().toString("ddd mm/dd/yy hh:mm:ss"); // QString filename = QStringLiteral("reports/%1/%2.log").arg(area->name).arg(time); - QFile logfile("config/server.log"); + QFile logfile("logs/server.log"); if (logfile.open(QIODevice::WriteOnly | QIODevice::Append)) { QTextStream file_stream(&logfile); while (!buffer.isEmpty())