-
I have been following some online tutorials. I've added
and referenced it in Kafka resources
Everything runs successfully but the logs are not in JSON format. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@justas200 I tried out the config map and configuration you shared and my Kafka pods are now logging in JSON format. Are you sure the operator is running? Did the Kafka pods roll after you made the change to the Kafka resource? For Kafka Connect you can follow a similar process https://strimzi.io/docs/operators/latest/configuring#property-kafka-connect-logging-reference |
Beta Was this translation helpful? Give feedback.
@justas200 I tried out the config map and configuration you shared and my Kafka pods are now logging in JSON format. Are you sure the operator is running? Did the Kafka pods roll after you made the change to the Kafka resource?
For Kafka Connect you can follow a similar process https://strimzi.io/docs/operators/latest/configuring#property-kafka-connect-logging-reference