diff --git a/src/site/antora/modules/ROOT/examples/manual/pattern-layout/script-pattern-selector/log4j2.properties b/src/site/antora/modules/ROOT/examples/manual/pattern-layout/script-pattern-selector/log4j2.properties index ec7b7407ccf..67092d5599d 100644 --- a/src/site/antora/modules/ROOT/examples/manual/pattern-layout/script-pattern-selector/log4j2.properties +++ b/src/site/antora/modules/ROOT/examples/manual/pattern-layout/script-pattern-selector/log4j2.properties @@ -30,12 +30,12 @@ if (logEvent.getLoggerName().equals("NoLocation")) {\ } else {\ return null;\ } -appender.0.layout.patternSelector.patternMatch.0.type = PatternMatch -appender.0.layout.patternSelector.patternMatch.0.key = NoLocation -appender.0.layout.patternSelector.patternMatch.0.pattern = [%-5level] %c{1.} %msg%n -appender.0.layout.patternSelector.patternMatch.1.type = PatternMatch -appender.0.layout.patternSelector.patternMatch.1.key = Flow -appender.0.layout.patternSelector.patternMatch.1.pattern = [%-5level] %c{1.} ====== %C{1.}.%M:%L %msg ======%n +appender.0.layout.patternSelector.0.type = PatternMatch +appender.0.layout.patternSelector.0.key = NoLocation +appender.0.layout.patternSelector.0.pattern = [%-5level] %c{1.} %msg%n +appender.0.layout.patternSelector.1.type = PatternMatch +appender.0.layout.patternSelector.1.key = Flow +appender.0.layout.patternSelector.1.pattern = [%-5level] %c{1.} ====== %C{1.}.%M:%L %msg ======%n rootLogger.level = WARN rootLogger.appenderRef.0.ref = CONSOLE