musmo02

Tech Tip - CA (PIM): Reduce Jboss log size

Discussion created by musmo02 Employee on Apr 12, 2016

CA (PIM) Tech Tip by Mohammed Mustansir, Sr. Support Engineer for 4/12/2016

 

1. Stop Jboss service

 

2. edit the following file

<JBossDir>\server\default\conf\log4j.xml

 

<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">

Inside here are 'param' tags. By default there is a param tag for 'Threshold' in the FILE appender, but there is one for the CONSOLE appender.

 

If this tag does not exist, then add it:

<param name="Threshold" value="ERROR"/>

 

3. verify the value is set to ERROR or WARN

 

4. start Jboss service

 

For more details refer the following document.

 

Chapter 10. Logging Conventions

Outcomes