Skip to content

[main] Correct example property syntax for PatternMatch under ScriptP… #3583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[main] Correct example property syntax for PatternMatch under ScriptP…
…atternSelector. (#3092)

Fixes #3078

(cherry picked from commit 062b945)

Co-authored-by: martin-dorey-hv <martin.dorey@hitachivantara.com>
Co-authored-by: Martin Dorey <martindorey@gmail.com>
  • Loading branch information
2 people authored and ppkarwasz committed Apr 1, 2025
commit 42a2e1eed66495d1c83f717a0bdd6617f76b15ce
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
Loading