summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 21983ca..e408a33 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -175,12 +175,13 @@ int main(int argc, char *argv[]) {
else
logFilePath = DEFAULT_LOG_FILE_PATH;
- // activate file logger if debug mode activated.
- if (debugMode > -1) {
+ // write always a log file
+ // // activate file logger if debug mode activated.
+ // if (debugMode > -1) {
// start debug logging to file.
qxtLog->addLoggerEngine("file_logger", new LoggerEngine_file(logFilePath));
qxtLog->setMinimumLevel("file_logger", QxtLogger::DebugLevel);
- }
+ // }
// print config
qxtLog->debug() << "************* CONFIG INFO *************";