DBZ-4114 Add Quarkus json logging extension to Debezium Server
This commit is contained in:
parent
79fc8ab049
commit
82faa3298b
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user