mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
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.
This commit is contained in:
parent
772a210cc9
commit
076e24f465
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ void LogBrowser::togglePermanentLogging(bool enabled)
|
|||
if (enabled) {
|
||||
if (!logger->isLoggingToFile()) {
|
||||
logger->setupTemporaryFolderLogDir();
|
||||
logger->enterNextLogFile();
|
||||
}
|
||||
} else {
|
||||
logger->disableTemporaryFolderLogDir();
|
||||
|
|
Loading…
Reference in a new issue