Skip to content

Commit

Permalink
Correct example property syntax for PatternMatch under ScriptPatternS…
Browse files Browse the repository at this point in the history
…elector. (#3092)

Fixes #3078

Co-authored-by: Martin Dorey <[email protected]>
  • Loading branch information
2 people authored and vy committed Oct 22, 2024
1 parent 1cf4ac9 commit 062b945
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 062b945

Please sign in to comment.