Logger: runtime log config, no logs till a user selects wallet mode

This commit is contained in:
xiphon
2020-10-08 15:52:34 +00:00
parent d3943ca2a9
commit 3c28ecef93
8 changed files with 74 additions and 25 deletions

View File

@@ -272,9 +272,9 @@ Rectangle {
<style type='text/css'>\
a {cursor:pointer;text-decoration: none; color: #FF6C3C}\
</style>\
<a href='#'>%1</a>".arg(walletLogPath)
<a href='#'>%1</a>".arg(logger.logFilePath)
textFormat: Text.RichText
onLinkActivated: oshelper.openContainingFolder(walletLogPath)
onLinkActivated: oshelper.openContainingFolder(logger.logFilePath)
MouseArea {
anchors.fill: parent
@@ -397,7 +397,7 @@ Rectangle {
if(currentWallet)
data += currentWallet.walletCreationHeight;
data += "\nWallet log path: " + walletLogPath;
data += "\nWallet log path: " + logger.logFilePath;
data += "\nWallet mode: " + walletModeString;
data += "\nGraphics mode: " + isOpenGL ? "OpenGL" : "Low graphics mode";
if (isTails)