DBZ-4114 Add Quarkus json logging extension to Debezium Server

This commit is contained in:
cburch824 2021-10-06 10:56:55 -05:00 committed by Gunnar Morling
parent 79fc8ab049
commit 82faa3298b
3 changed files with 18 additions and 1 deletions

View File

@ -100,6 +100,10 @@
<groupId>io.debezium</groupId>
<artifactId>debezium-server-nats-streaming</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-logging-json</artifactId>
</dependency>
</dependencies>
<build>
<plugins>

View File

@ -10,3 +10,4 @@ debezium.source.database.password=postgres
debezium.source.database.dbname=postgres
debezium.source.database.server.name=tutorial
debezium.source.schema.include.list=inventory
quarkus.log.console.json=false

View File

@ -274,7 +274,7 @@ The configuration will need to contain the list of transformations, implementati
[id="debezium-additional-configuration-options"]
=== Addtional configuration
=== Additional configuration
Debezium Server runs on top Quarkus framework.
All configuration options exposed by Quarkus are available in Debezium Server too.
@ -291,8 +291,20 @@ The most frequent used are:
|8080
|The port on which Debezim exposes Microprofile Health endpoint and other exposed status information.
[id="debezium-quarkus-log-level"]
|`quarkus.log.level`
|INFO
|The default log level for every log category.
[id="debezium-quarkus-json-logging"]
|`quarkus.log.console.json`
|true
|Determine whether to enable the JSON console formatting extension, which disables "normal" console formatting.
|===
JSON logging can be disabled by setting `quarkus.log.console.json=false` in the _conf/application.properties_ file, as demonstrated in the _conf/application.properties.example_ file.
=== Sink configuration