log qt/qml to easylogging, add --log-file cmdline option

This commit is contained in:
pazos
2018-05-08 18:13:29 +02:00
parent 7cea134352
commit 341ac18f1a
7 changed files with 75 additions and 23 deletions

View File

@@ -722,17 +722,6 @@ QString Wallet::getDaemonLogPath() const
return QString::fromStdString(m_walletImpl->getDefaultDataDir()) + "/bitmonero.log";
}
QString Wallet::getWalletLogPath() const
{
const QString filename("monero-wallet-gui.log");
#ifdef Q_OS_MACOS
return QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0) + "/Library/Logs/" + filename;
#else
return QCoreApplication::applicationDirPath() + "/" + filename;
#endif
}
bool Wallet::blackballOutput(const QString &pubkey)
{
QList<QString> list;