# Log4j 2: A High-Level Overview of Logging Features

DevFeed: [Log4j 2: A High-Level Overview of Logging Features](<https://devfeed.tech/articles/logv4j-v2-27321.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/202001/log4j2/>)

Published: 2020-01-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [log4j](<https://devfeed.tech/topics/log4j.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [Library](<https://devfeed.tech/topics/library.md>), [audit](<https://devfeed.tech/topics/audit.md>), [context](<https://devfeed.tech/topics/context.md>), [tracing](<https://devfeed.tech/topics/tracing.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [audit](<https://devfeed.tech/tags/audit.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [context](<https://devfeed.tech/tags/context.md>), [library](<https://devfeed.tech/tags/library.md>), [log4j](<https://devfeed.tech/tags/log4j.md>), [logging](<https://devfeed.tech/tags/logging.md>), [tracing](<https://devfeed.tech/tags/tracing.md>)

## AI overview

A high-level overview of Log4j 2 features, including structured Message objects, event logging for audits, ThreadContext correlation IDs, flow tracing, markers, and configurable appenders.

## Source excerpt

When I've first learned that there is something more than printing things to console log4j was state of the art solution. Then SLF4J joined the party and improved where log4j was lacking. The new version of LOG4J is available for some time already and I didn't have a chance to look at what if offers. Let's examine what's possible with the second version of a very well known logging library. Read more