diff --git a/src/app/filelogger.cpp b/src/app/filelogger.cpp index 8bbe251d3..4c83c16a1 100644 --- a/src/app/filelogger.cpp +++ b/src/app/filelogger.cpp @@ -177,7 +177,8 @@ void FileLogger::openLogFile() { if (!m_logFile.open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Text)) { - LogMsg(tr("An error occurred while trying to open the log file. Logging to file is disabled."), Log::CRITICAL); + LogMsg(tr("An error occurred while trying to open the log file. Logging to file is disabled. File: \"%1\". Error: \"%2\".") + .arg(m_logFile.fileName(), m_logFile.errorString()), Log::CRITICAL); return; }