SiftingAppender: logging different threads to different log files | NoBlogDefFound
One novel feature of Logback isSiftingAppender
(JavaDoc). In short it's a proxy appender that creates one child appender per each unique value of a given runtime property. Typically this property is taken from MDC. Here is an example based on the official documentation linked above:Read full article from SiftingAppender: logging different threads to different log files | NoBlogDefFound
No comments:
Post a Comment