Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 675 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 675 Bytes

Log4j ECS Layout

🚧

Step 1: add dependency

Latest version: Maven Central

Add a dependency to your application

<dependency>
    <groupId>co.elastic.logging</groupId>
    <artifactId>log4j-ecs-layout</artifactId>
    <version>${ecs-logging-java.version}</version>
</dependency>

If you are not using a dependency management tool, like maven, you have to add both, log4j-ecs-layout and ecs-logging-core jars manually to the classpath. For example to the $CATALINA_HOME/lib directory.