Skip to content

Commit 381e764

Browse files
committed
Replace ; in filter rules with \n to match QLoggingCategory::setFilterRules()
1 parent b18a279 commit 381e764

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/log4qt/propertyconfigurator.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ void PropertyConfigurator::configureGlobalSettings(const Properties &properties,
239239
value = properties.property(key_filterRules);
240240
if (!value.isNull())
241241
{
242+
value.replace(";", "\n");
242243
LogManager::setFilterRules(value);
243244
staticLogger()->debug(QStringLiteral("Set filter rules to %1"), LogManager::filterRules());
244245
}

0 commit comments

Comments
 (0)