Skip to content
Snippets Groups Projects
Commit 71d0d678 authored by Constantin Papizh's avatar Constantin Papizh
Browse files

logging and console issues

parent 0b568bbf
No related branches found
No related tags found
1 merge request!36logging and console issues
Pipeline #1188 passed with stage
in 20 minutes and 14 seconds
......@@ -44,6 +44,7 @@ int main(int argc, char *argv[])
//#ifndef QT_DEBUG
#ifdef Q_OS_LINUX
dapLogger.setLogFile(QString("/opt/cellframe-dashboard/log/%1Gui.log").arg(DAP_BRAND));
#elif defined Q_OS_WIN
#endif
//#endif
......
......@@ -19,6 +19,7 @@ VER_PAT = 4
ICON = icon.ico
win32 {
CONFIG -= console
VERSION = $${VER_MAJ}.$${VER_MIN}.$$VER_PAT
DEFINES += CLI_PATH=\\\"./cellframe-node-cli.exe\\\"
DEFINES += LOG_FILE=\\\"./opt/cellframe-node/var/log/cellframe-node_logs.txt\\\"
......
......@@ -39,6 +39,9 @@ int main(int argc, char *argv[])
//#ifndef QT_DEBUG
#ifdef Q_OS_LINUX
dapLogger.setLogFile(QString("/opt/cellframe-dashboard/log/%1Service.log").arg(DAP_BRAND));
#elif defined Q_OS_WIN
dapLogger.setLogFile(QString("%1Service.log").arg(DAP_BRAND));
dapLogger.setLogLevel(L_INFO);
#endif
//#endif
// Creating the main application object
......
Subproject commit ba3e1eed7b6e76393c035986fe27c8e49cafc2d9
Subproject commit ffbc1f0f61cc6b50a85481cd2f9af98dab904a9e
Subproject commit 96629d270265f9b75c8c289b7b2ab45ce8f75df3
Subproject commit 2cabc1d39de61771f043a5161e7891f22d2d81ae
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