kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andras Beni <andrasb...@cloudera.com>
Subject Re: Removing the Kafka DEBUG logs in catalina.out using log4j.properties
Date Sun, 13 May 2018 13:10:58 GMT
Hi Kathick,

You probably want to add this line to your log4j.properties:
log4j.logger.org.apache.kafka=INFO
This will remove all DEBUG lines where the logger name starts with
org.apache.kafka.

HTH,
Andras

On Fri, May 11, 2018 at 9:28 AM, Karthick Kumar <kkumar@apptivo.co.in>
wrote:

> Hi,
>
> I'm using tomcat node as a Kafka consumer, It prints the INFO, DEBUG and
> ERROR logs.
>
> When I analyzed in log file debug logs are taking more space. So i'm having
> disk space issue.
>
> I'm using *log4j.properties* for managing the logs, Now I want to remove
> the DEBUG logs from my logger file.
>
> Anyone, please guide me to remove the DEBUG logs.
>
> --
> With Regards,
> Karthick.K
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message