projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772a210
)
Log: Start logging immediately when "permanent logs" enabled #7146
author
Christian Kamm
<mail@ckamm.de>
Tue, 16 Apr 2019 07:18:19 +0000
(09:18 +0200)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:48 +0000
(10:58 +0100)
Previously one would need to wait for the next sync run to create the
first log file.
src/gui/logbrowser.cpp
patch
|
blob
|
history
diff --git
a/src/gui/logbrowser.cpp
b/src/gui/logbrowser.cpp
index 8ad0410e8a2572188e0489bca40919954d5040bb..d3ab7bad6e47d784f6de69e7bd75a194121a9c42 100644
(file)
--- a/
src/gui/logbrowser.cpp
+++ b/
src/gui/logbrowser.cpp
@@
-116,6
+116,7
@@
void LogBrowser::togglePermanentLogging(bool enabled)
if (enabled) {
if (!logger->isLoggingToFile()) {
logger->setupTemporaryFolderLogDir();
+ logger->enterNextLogFile();
}
} else {
logger->disableTemporaryFolderLogDir();