Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2019-04-16 10:18:19 +0300
committerChristian Kamm <mail@ckamm.de>2019-04-16 10:20:44 +0300
commit4c1e9d1f9e2bab3a2a83bb9a404916d2baabd019 (patch)
treee6b9b5d135cb48b7e38c7c877af1a0c2d51263cb
parentcffac919a1ae94d8f05df44f9b9f90466ee33398 (diff)
Log: Start logging immediately when "permanent logs" enabled #7146
Previously one would need to wait for the next sync run to create the first log file.
-rw-r--r--src/gui/logbrowser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/logbrowser.cpp b/src/gui/logbrowser.cpp
index b102c674f..27fa432a4 100644
--- a/src/gui/logbrowser.cpp
+++ b/src/gui/logbrowser.cpp
@@ -118,6 +118,7 @@ void LogBrowser::togglePermanentLogging(bool enabled)
if (enabled) {
if (!logger->isLoggingToFile()) {
logger->setupTemporaryFolderLogDir();
+ logger->enterNextLogFile();
}
} else {
logger->disableTemporaryFolderLogDir();