From c7be1ee8ca02b48d7287145bc09b46ab0250b647 Mon Sep 17 00:00:00 2001 From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> Date: Tue, 30 Jul 2019 13:16:09 -0400 Subject: [PATCH] debug: fix log file path Change-Id: I95f91a6f3432a8b7abcdf31ff7f66e561c63f136 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 6e2ae1e..db1a9a1 100644 --- a/main.cpp +++ b/main.cpp @@ -141,7 +141,7 @@ main(int argc, char* argv[]) GlobalInstances::setPixmapManipulator(std::make_unique<PixbufManipulator>()); LRCInstance::init(); - QFile debugFile("daemon.log"); + QFile debugFile(qApp->applicationDirPath() + "/" + "jami.log"); for (auto string : QCoreApplication::arguments()) { if (string.startsWith("jami:")) { -- GitLab