Skip to content

Commit 10325d8

Browse files
committed
Add non-maven instructions
1 parent 56382c8 commit 10325d8

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

log4j-ecs-layout/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ Add a dependency to your application
1212
<version>${ecs-logging-java.version}</version>
1313
</dependency>
1414
```
15+
16+
If you are not using a dependency management tool, like maven, you have to add both,
17+
`log4j2-ecs-layout` and `ecs-logging-core` jars manually to the classpath.
18+
For example to the `$CATALINA_HOME/lib` directory.

log4j2-ecs-layout/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Add a dependency to your application
1313
</dependency>
1414
```
1515

16+
If you are not using a dependency management tool, like maven, you have to add both,
17+
`log4j2-ecs-layout` and `ecs-logging-core` jars manually to the classpath.
18+
For example to the `$CATALINA_HOME/lib` directory.
19+
1620
## Step 2: use the `EcsLayout`
1721

1822
Instead of the usual `<PatternLayout/>`, use `<EcsLayout serviceName="my-app"/>`.

logback-ecs-encoder/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Add a dependency to your application
1313
</dependency>
1414
```
1515

16+
If you are not using a dependency management tool, like maven, you have to add both,
17+
`logback-ecs-encoder` and `ecs-logging-core` jars manually to the classpath.
18+
For example to the `$CATALINA_HOME/lib` directory.
19+
1620
## Step 2: use the `EcsEncoder`
1721

1822
## Spring Boot applications

0 commit comments

Comments
 (0)