Skip to content
Snippets Groups Projects
Commit 21bca717 authored by littletux89@gmail.com's avatar littletux89@gmail.com
Browse files

[+] Comment added.

parent 8f6179b5
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ int main(int argc, char *argv[]) ...@@ -28,6 +28,7 @@ int main(int argc, char *argv[])
app.setWindowIcon(QIcon(":/Resources/Icons/icon.ico")); app.setWindowIcon(QIcon(":/Resources/Icons/icon.ico"));
DapLogger dapLogger; DapLogger dapLogger;
/// TODO: The code is commented out at the time of developing the logging strategy in the project
//#ifndef QT_DEBUG //#ifndef QT_DEBUG
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
dapLogger.setLogFile(QString("/opt/%1/log/%2Gui.log").arg(QString(DAP_BRAND)).arg(DAP_BRAND)); dapLogger.setLogFile(QString("/opt/%1/log/%2Gui.log").arg(QString(DAP_BRAND)).arg(DAP_BRAND));
......
...@@ -28,6 +28,7 @@ int main(int argc, char *argv[]) ...@@ -28,6 +28,7 @@ int main(int argc, char *argv[])
a.setApplicationName("KelvinDashboardService"); a.setApplicationName("KelvinDashboardService");
DapLogger dapLogger; DapLogger dapLogger;
/// TODO: The code is commented out at the time of developing the logging strategy in the project
//#ifndef QT_DEBUG //#ifndef QT_DEBUG
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
dapLogger.setLogFile(QString("/opt/%1/log/%2Service.log").arg(QString(DAP_BRAND)).arg(DAP_BRAND)); dapLogger.setLogFile(QString("/opt/%1/log/%2Service.log").arg(QString(DAP_BRAND)).arg(DAP_BRAND));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment