diff options
author | efiacor <fiachra.corcoran@est.tech> | 2023-02-23 16:24:51 +0000 |
---|---|---|
committer | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2023-03-07 12:19:59 +0000 |
commit | 913d54693dd61e81125c5432827f6cef99b50a4e (patch) | |
tree | 5a2654fc9ba896f8f46796e037703f6a7892ee90 /kubernetes/strimzi/components/strimzi-kafka-bridge/resources | |
parent | d3c55abb3bbdab8e864a4997f7699cae8a253e37 (diff) |
[STRIMZI] Add logging overrides to kafka bridge
Add ability to control http bridge logging
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I4ade04d6c8f67ce82a4360b99e93b4f3323c00df
Issue-ID: DMAAP-1874
Diffstat (limited to 'kubernetes/strimzi/components/strimzi-kafka-bridge/resources')
-rw-r--r-- | kubernetes/strimzi/components/strimzi-kafka-bridge/resources/config/log4j2.properties | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/kubernetes/strimzi/components/strimzi-kafka-bridge/resources/config/log4j2.properties b/kubernetes/strimzi/components/strimzi-kafka-bridge/resources/config/log4j2.properties new file mode 100644 index 0000000000..e6ad8e0920 --- /dev/null +++ b/kubernetes/strimzi/components/strimzi-kafka-bridge/resources/config/log4j2.properties @@ -0,0 +1,38 @@ +name=BridgeConfig + +appender.console.type=Console +appender.console.name=STDOUT + +appender.console.layout.type = PatternLayout +appender.console.layout.pattern = [%d] %-5p <%-12.12c{1}:%L> [%-12.12t] %m%n + +# Alternate JSONLayout pattern config +#appender.console.layout.type=JSONLayout +#appender.console.layout.compact=true +#appender.console.layout.eventEol=true +#appender.console.layout.complete=true +#appender.console.layout.properties=false +#appender.console.layout.propertiesAsList=false +#appender.console.layout.locationInfo=true +#appender.console.layout.includeStacktrace=true +#appender.console.layout.stacktraceAsString=true +#appender.console.layout.includeNullDelimiter=false +#appender.console.layout.objectMessageAsJsonObject=true + +rootLogger.level=INFO +rootLogger.appenderRefs=console +rootLogger.appenderRef.console.ref=STDOUT +rootLogger.additivity=false + +logger.bridge.name=io.strimzi.kafka.bridge +logger.bridge.level=INFO +logger.bridge.appenderRefs=console +logger.bridge.appenderRef.console.ref=STDOUT +logger.bridge.additivity=false + +logger.healthy.name=http.openapi.operation.healthy +logger.healthy.level=WARN +logger.ready.name=http.openapi.operation.ready +logger.ready.level=WARN + +monitorInterval=30 |