diff --git a/service/config/sample.yml b/service/config/sample.yml index 0259ebfe0..b54a3813b 100644 --- a/service/config/sample.yml +++ b/service/config/sample.yml @@ -10,7 +10,18 @@ logging: threshold: ALL timeZone: UTC target: stdout - - type: otlp + layout: + type: json + timestampFormat: ISO_INSTANT + includes: + - timestamp + - level + - threadName + - marker + - loggerName + - message + - exception + - callerData tlsKeyStore: password: secret://tlsKeyStore.password diff --git a/service/pom.xml b/service/pom.xml index b7e60e75b..ab4be76c0 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -107,6 +107,10 @@ io.dropwizard dropwizard-logging + + io.dropwizard + dropwizard-json-logging + io.dropwizard dropwizard-metrics