Skip to content

Commit 0f03e4b

Browse files
marreguicaoccao
authored andcommitted
clear existing instance so as not to duplicate
1 parent 29e069f commit 0f03e4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hivemq-edge/src/main/java/com/hivemq/bootstrap/LoggingBootstrap.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ public void onStart(final @NotNull LoggerContext context) {
214214
@Override
215215
public void onReset(final @NotNull LoggerContext context) {
216216
log.trace("logback.xml was changed");
217+
context.getTurboFilterList().remove(logLevelModifierTurboFilter);
217218
context.addTurboFilter(logLevelModifierTurboFilter);
218219
}
219220

0 commit comments

Comments
 (0)