Hi,
I am looking into why I cannot override the log level for specific class(es).
So in my experiment, I set
CONNECT_LOG4J_LOGGERS with
"org.apache.kafka.clients.admin.KafkaAdminClient=DEBUG"Before that I already set
LOG_LEVEL to
debug just to see which classes have DEBUG logging, then I set that environment variable back to info, and re-run the connect job with CONNECT_LOG4J_LOGGERS is set above.
I check the file /etc/kafka/connect-log4j.properties contains:
log4j.rootLogger=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n
log4j.logger.io.confluent.connect.s3.S3SinkTask=DEBUG
and the JVM args has this flag:
-Dlog4j.configuration=file:/etc/kafka/connect-log4j.properties
Unfortunately, I still don't see DEBUG output log for KafkaAdminClient class. Do you know what I missed here?
Thanks,
zainal