[Pkg-owncloud-commits] [owncloud-client] 44/94: Logger: --logdebug only show owncloud's debug message

Sandro Knauß hefee at debian.org
Thu Mar 29 11:12:13 UTC 2018


This is an automated email from the git hooks/post-receive script.

hefee pushed a commit to branch upstream
in repository owncloud-client.

commit c3dbb20ce398b25ebdb517b11f69b9b62ae857a5
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Sun Jan 21 10:43:27 2018 +0100

    Logger: --logdebug only show owncloud's debug message
    
    Recent Qt version show way too many debug messages, spamming the console.
    So filter only messages that comes from the client.
---
 src/libsync/logger.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/logger.cpp b/src/libsync/logger.cpp
index 31afbbe..366fbfc 100644
--- a/src/libsync/logger.cpp
+++ b/src/libsync/logger.cpp
@@ -219,7 +219,7 @@ void Logger::setLogFlush(bool flush)
 
 void Logger::setLogDebug(bool debug)
 {
-    QLoggingCategory::setFilterRules(debug ? QStringLiteral("qt.*=true\n*.debug=true") : QString());
+    QLoggingCategory::setFilterRules(debug ? QStringLiteral("sync.*.debug=true\ngui.*.debug=true") : QString());
     _logDebug = debug;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list