🚧
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.