You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by deadwind4 <de...@outlook.com> on 2020/04/10 05:51:49 UTC

how to start DEBUG level

Hi 


I wanna change kafka log to DEBUG level


I change option log4j.rootLogger=DEBUG, stdout, kafkaAppender in log4j.properties file


but in logs/server.log I still see logs without any DEBUG message. why?


Thank you.

Re: how to start DEBUG level

Posted by Jacek Szewczyk <ja...@gmail.com>.
Please change 
log4j.logger.kafka=DEBUG, kafkaAppender

And it will work.

Jacek

> On Apr 10, 2020, at 07:51, deadwind4 <de...@outlook.com> wrote:
> 
> Hi 
> 
> 
> I wanna change kafka log to DEBUG level
> 
> 
> I change option log4j.rootLogger=DEBUG, stdout, kafkaAppender in log4j.properties file
> 
> 
> but in logs/server.log I still see logs without any DEBUG message. why?
> 
> 
> Thank you.