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:
53c31f5
)
Have a filter rule capturing all of nextcloud debug
author
Kevin Ottens
<kevin.ottens@nextcloud.com>
Wed, 1 Jul 2020 13:32:59 +0000
(15:32 +0200)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Wed, 1 Jul 2020 13:39:52 +0000
(15:39 +0200)
This was half broken before that commit and the previous one since some
of the categories would not be captured.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/logger.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/logger.cpp
b/src/libsync/logger.cpp
index 5773532a26b77a62f922fc5d6c8cac5f63038f20..6827308e1acccc23bfe04fda9a111f93c51a82a7 100644
(file)
--- a/
src/libsync/logger.cpp
+++ b/
src/libsync/logger.cpp
@@
-216,7
+216,7
@@
void Logger::setLogFlush(bool flush)
void Logger::setLogDebug(bool debug)
{
- QLoggingCategory::setFilterRules(debug ? QStringLiteral("
sync.*.debug=true\ngui
.*.debug=true") : QString());
+ QLoggingCategory::setFilterRules(debug ? QStringLiteral("
nextcloud
.*.debug=true") : QString());
_logDebug = debug;
}