Re: Removing the Kafka DEBUG logs in catalina.out using log4j.properties

2018-05-21 Thread Karthick Kumar
Okay Kaufman, will check on that On Sun, May 20, 2018 at 12:08 AM, Kaufman Ng wrote: > Karthick, > > I am suspecting that it could be the log4j.properties in your webapp is not > picked up by Tomcat, or somehow Tomcat is overriding your webapp's log4j > setup. > > On Tue,

Re: Removing the Kafka DEBUG logs in catalina.out using log4j.properties

2018-05-19 Thread Kaufman Ng
Karthick, I am suspecting that it could be the log4j.properties in your webapp is not picked up by Tomcat, or somehow Tomcat is overriding your webapp's log4j setup. On Tue, May 15, 2018 at 2:19 AM, Karthick Kumar wrote: > Hi Andras/Kaufman, > > I have tried both logger

Re: Removing the Kafka DEBUG logs in catalina.out using log4j.properties

2018-05-15 Thread Karthick Kumar
Hi Andras/Kaufman, I have tried both logger properties, But it is not working for me. Here I share the some DEBUG logger message which is print in my tomcat node DEBUG AbstractCoordinator:704 - Sending Heartbeat request for group apptivodb5-newsfeed-messages-4-consumer to coordinator

Re: Removing the Kafka DEBUG logs in catalina.out using log4j.properties

2018-05-13 Thread Kaufman Ng
Is the log coming from your application on Tomcat or Kafka? Make sure you set the right log4j properties file. In general you can set this in log4j.properties like this: log4j.rootLogger=INFO, stdout The line in your log4j.properties may look a little bit differently. The key thing is to set the

Re: Removing the Kafka DEBUG logs in catalina.out using log4j.properties

2018-05-13 Thread Andras Beni
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 wrote: > Hi, > >

Re: Removing the Kafka DEBUG logs in catalina.out using log4j.properties

2018-05-11 Thread Karthick Kumar
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.