diff --git a/docs/docs/configuration/others.md b/docs/docs/configuration/others.md index 72f92ded8..359492fe8 100644 --- a/docs/docs/configuration/others.md +++ b/docs/docs/configuration/others.md @@ -13,3 +13,18 @@ > Since AKHQ is based on [Micronaut](https://micronaut.io/), you can customize configurations (server port, ssl, ...) with [Micronaut configuration](https://docs.micronaut.io/snapshot/guide/configurationreference.html#io.micronaut.http.server.HttpServerConfiguration). > More information can be found on [Micronaut documentation](https://docs.micronaut.io/snapshot/guide/index.html#config) +## JSON Logging +In order to configure AKHQ to output log in JSON format, a logback configuration needs to be provided, e.g. `logback.xml` +``` + + + + + + + + + + +``` +This file then needs to be mounted to `/app/logback.xml` and referenced in `JAVA_OPTS` via `-Dlogback.configurationFile=/app/logback.xml` (see [docker](docker.md) for more information). \ No newline at end of file