[jboss-user] [Beginner's Corner] - Re: There are too many DEBUG written to the

PeterJ do-not-reply at jboss.com
Mon Sep 28 11:30:33 EDT 2009

Do you want to turn off all debugging? If so, then there are two possibilities. You only need to do one of them, not both.

1) Add a threshold to the FILE appender:

  | <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
  |    . . .
  |    <param name="Threshold" value="${jboss.server.log.threshold}"/>
  |    . . .

2) Add a priority to the root:

  |       <priority value="INFO"/>
  |       <appender-ref ref="CONSOLE"/>
  |       <appender-ref ref="FILE"/>
  |    </root>

By the way, the FILE appender uses a rolling daily appender so each day you should get a new log file - why not simply have a cron script that runs every day and deletes all log files more than X days old?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257414#4257414

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257414

More information about the jboss-user mailing list