17f6cc2c4f
OBS-URL: https://build.opensuse.org/request/show/437019 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libktorrent?expand=0&rev=36
27 lines
846 B
Diff
27 lines
846 B
Diff
From: Martin T. H. Sandsmark <martin.sandsmark@kde.org>
|
|
Date: Thu, 06 Oct 2016 21:43:46 +0000
|
|
Subject: Fix logging framework spamming
|
|
X-Git-Url: http://quickgit.kde.org/?p=libktorrent.git&a=commitdiff&h=a65d69e68ad860601c23bc7d4dadbded10a81072
|
|
---
|
|
Fix logging framework spamming
|
|
|
|
3945a53ba65125b430e1f681deb2558d01ab052a forced the logging framework to
|
|
always print all log information (including debug logs) to standard out,
|
|
this makes it respect the to_stdout again.
|
|
|
|
BUG: 362195
|
|
---
|
|
|
|
|
|
--- a/src/util/log.cpp
|
|
+++ b/src/util/log.cpp
|
|
@@ -276,7 +276,7 @@
|
|
void InitLog(const QString & file,bool rotate,bool handle_qt_messages,bool to_stdout)
|
|
{
|
|
global_log->setOutputFile(file,rotate,handle_qt_messages);
|
|
- global_log->setOutputToConsole(true);
|
|
+ global_log->setOutputToConsole(to_stdout);
|
|
}
|
|
|
|
void AddLogMonitor(LogMonitorInterface* m)
|