Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable connector log contexts in Connect Log4j configuration as per KIP-721 #253

Open
james-johnston-thumbtack opened this issue Dec 7, 2023 · 0 comments

Comments

@james-johnston-thumbtack

KIP-721 modified the default log4j log pattern to include connector context, like this:

connect.log.pattern=[%d] %p %X{connector.context}%m (%c:%L)%n

However, the default log4j configuration template used when CONNECT_LOG4J_APPENDER_STDOUT_LAYOUT_CONVERSIONPATTERN is not provided still uses the old log pattern: https://github.com/confluentinc/kafka-images/blob/v7.5.2/kafka-connect-base/include/etc/confluent/docker/log4j.properties.template#L6

I'd assume that all ConversionPattern values throughout this repository should also be similarly updated with a new default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant