-
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.
Answered by
katheris
Sep 25, 2024
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.
3 replies
Answer selected by
justas200
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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