Commit c7be1ee8 authored by Andreas Traczyk's avatar Andreas Traczyk

debug: fix log file path

Change-Id: I95f91a6f3432a8b7abcdf31ff7f66e561c63f136
parent cebfedcc
...@@ -141,7 +141,7 @@ main(int argc, char* argv[]) ...@@ -141,7 +141,7 @@ main(int argc, char* argv[])
GlobalInstances::setPixmapManipulator(std::make_unique<PixbufManipulator>()); GlobalInstances::setPixmapManipulator(std::make_unique<PixbufManipulator>());
LRCInstance::init(); LRCInstance::init();
QFile debugFile("daemon.log"); QFile debugFile(qApp->applicationDirPath() + "/" + "jami.log");
for (auto string : QCoreApplication::arguments()) { for (auto string : QCoreApplication::arguments()) {
if (string.startsWith("jami:")) { if (string.startsWith("jami:")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment