From: Kai Moritz Date: Tue, 2 Aug 2022 19:39:39 +0000 (+0200) Subject: Das Logging so überarbeitet/umkonfiguriert, dass man den Fehler sieht X-Git-Tag: customized---lvm-2-tage^2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=1b978296e798614b3ca8317b43acd1a44a774ecd;p=demos%2Fkafka%2Ftraining Das Logging so überarbeitet/umkonfiguriert, dass man den Fehler sieht --- diff --git a/src/main/java/de/juplo/kafka/RestProducer.java b/src/main/java/de/juplo/kafka/RestProducer.java index 0f35600..59d2c77 100644 --- a/src/main/java/de/juplo/kafka/RestProducer.java +++ b/src/main/java/de/juplo/kafka/RestProducer.java @@ -97,9 +97,8 @@ public class RestProducer long now = System.currentTimeMillis(); log.trace( - "{} - Queued #{} key={} latency={}ms", + "{} - Queued message with key={} latency={}ms", id, - value, record.key(), now - time ); diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 726204e..0d5752c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -31,6 +31,6 @@ info: logging: level: root: INFO - de.juplo: DEBUG + de.juplo: TRACE server: port: 8880