Currently authentication logs are not available. In recent Kafka versions, authorization failures will be logged in logs/kafka-authorizer.log
On Thu, May 31, 2018 at 5:34 PM, Gérald Quintana <gerald.quint...@gmail.com> wrote: > Hello, > > I am using SASL Plaintext authentication and ACLs. > I'd like to be able to detect potential security attacks on Kafka broker > > Is it possible to log, on broker side, authentication failures (wrong > password) and authorization failures (not granted)? > > I read this blog post > https://www.confluent.io/blog/apache-kafka-security- > authorization-authentication-encryption/ > and tried setting to DEBUG log4j.logger.kafka.authorizer.logger=DEBUG, > authorizerAppender > But it doesn't help. > > Thanks for your help, > Gérald >