diff --git a/logback-appender/README.md b/logback-appender/README.md index 1339635..3127828 100644 --- a/logback-appender/README.md +++ b/logback-appender/README.md @@ -215,6 +215,26 @@ it into a label. ``` +### Logger name and thread name in labels + +You can include logger name and logging thread name as labels by using dedicated configuration tags. It will dynamically extract these values and will turn +them into a label. + +```xml + + + ... + + + logger_name + + + + thread_name + + +``` + ## Details Let's go through the example config above and analyze configuration options (**Note: Tags are case-insensitive**).