[jboss-user] [Beginner's Corner] - Re: How do I change the log file output location??

Peter Johnson do-not-reply at jboss.com
Tue Feb 28 18:17:56 EST 2012

Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: How do I change the log file output location??"

To view the discussion, visit: https://community.jboss.org/message/720387#720387

I suspect that if you remove the file that the logging will not happen (I have't tried this so am not certain).

You could also set the threshold to ERROR (or WARN), that way only error messages would show in the log.

You could also use a rolling file appender with a limit on the size, and a limit on the number of logs to keep. That is usually the best way to limit log sizes. Any turorial on Log4J should show you how.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120228/43239875/attachment.html 

More information about the jboss-user mailing list