diff --git a/service/src/logger.cpp b/service/src/logger.cpp index e145d9d..c1b2916 100644 --- a/service/src/logger.cpp +++ b/service/src/logger.cpp @@ -37,7 +37,7 @@ bool Logger::getDebug() { return debug; } bool Logger::getVerbose() { return verbose; } void Logger::enableLogFile() { - QString logDir = QStandardPaths::writableLocation(QStandardPaths::CacheLocation); + QString logDir = QStandardPaths::writableLocation(QStandardPaths::CacheLocation).replace("-daemon",""); filename = QString(logDir + "/" + APP_NAME + ".log"); std::cout << "Logging to " << filename.toStdString() << std::endl;