Back to Pinpoint

replace logger pattern automatically

agent-module/plugins/logback/README.md

3.0.5743 B
Original Source

Logback

Pinpoint Configuration

pinpoint.config

Logging options.

profiler.logback.logging.transactioninfo=false

# replace logger pattern automatically
# %message, $msg or %m would be replace with "TxId:%X{PtxId} %msg"
# in the search config, put the longest/longer variable first.
# variables/aliases: https://github.com/qos-ch/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/PatternLayout.java#L54-L149
#profiler.logback.logging.pattern.replace.enable=false
#profiler.logback.logging.pattern.replace.search=%message,%msg,%m
#profiler.logback.logging.pattern.replace.with="TxId:%X{PtxId} %msg"