Save log to file and always save e2ee debug logs

This will hopefully help us debug e2ee problems
This commit is contained in:
Tobias Fella
2023-05-05 10:15:43 +00:00
parent 5107f0e79e
commit 443d709eb8
4 changed files with 221 additions and 0 deletions

View File

@@ -45,6 +45,7 @@
#include "controller.h"
#include "filetypesingleton.h"
#include "linkpreviewer.h"
#include "logger.h"
#include "login.h"
#include "matriximageprovider.h"
#include "models/collapsestateproxymodel.h"
@@ -180,6 +181,8 @@ int main(int argc, char *argv[])
KAboutData::setApplicationData(about);
QGuiApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("org.kde.neochat")));
initLogging();
#ifdef NEOCHAT_FLATPAK
// Copy over the included FontConfig configuration to the
// app's config dir: