diff options
Diffstat (limited to 'Logger.cpp')
| -rw-r--r-- | Logger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -34,6 +34,7 @@ #include <QDebug> #include "Logger.h" +#include "src/qt/TailsOS.h" #include "wallet/api/wallet2_api.h" // default log path by OS (should be writable) @@ -66,6 +67,9 @@ const QString getLogPath(const QString logPath) { const QFileInfo fi(logPath); + if(TailsOS::detect() && TailsOS::usePersistence) + return QDir::homePath() + "/Persistent/Monero/logs/" + defaultLogName; + if(!logPath.isEmpty() && !fi.isDir()) return fi.absoluteFilePath(); else { |
