Skip to content

Commit

Permalink
fix cleanup of loggerConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Ivarsson <[email protected]>
  • Loading branch information
pativa committed Jan 24, 2025
1 parent 26fc0f4 commit 3e7b1f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void removeMetricsFilter(Configuration configuration) {
.filter(loggerConfig -> !loggerConfig.isAdditive())
.forEach(loggerConfig -> {
if (loggerConfig != rootLoggerConfig) {
metricsFilters.values().forEach(rootLoggerConfig::removeFilter);
metricsFilters.values().forEach(loggerConfig::removeFilter);
}
});
}
Expand Down

0 comments on commit 3e7b1f0

Please sign in to comment.