mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 11:54:20 +02:00
don't enable so much logging when 'verbose logging' is turned on
This commit is contained in:
parent
bc9e403ab9
commit
32d10641dc
1 changed files with 6 additions and 2 deletions
|
@ -2253,8 +2253,12 @@ void Application::updateVerboseLogging() {
|
|||
}
|
||||
bool enable = menu->isOptionChecked(MenuOption::VerboseLogging);
|
||||
|
||||
QString rules = "*.debug=%1\n"
|
||||
"*.info=%1";
|
||||
QString rules =
|
||||
"hifi.*.debug=%1\n"
|
||||
"hifi.*.info=%1\n"
|
||||
"hifi.audio-stream.warning=false\n"
|
||||
"hifi.audio-stream.debug=false\n"
|
||||
"hifi.audio-stream.info=false";
|
||||
rules = rules.arg(enable ? "true" : "false");
|
||||
QLoggingCategory::setFilterRules(rules);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue