Latest Log4J properties file, with JSF debug support

Here's my latest Log4J properties file example (log4j.properties), which includes some support for Spring and JSF debug output:

# log4j.properties

log4j.rootLogger=DEBUG,myapp

log4j.appender.myapp=org.apache.log4j.RollingFileAppender
log4j.appender.myapp.file=/var/log/myapp.log
log4j.appender.myapp.maxFileSize=10MB
log4j.appender.myapp.maxBackupIndex=10
log4j.appender.myapp.layout=org.apache.log4j.PatternLayout
log4j.appender.myapp.layout.ConversionPattern=%5p | %d | %F:%L | %m%n

log4j.logger.com.acme=DEBUG
log4j.logger.org.springframework=DEBUG
log4j.logger.javax.faces=DEBUG
log4j.logger.org.apache.myfaces=DEBUG
log4j.logger.com.sun.faces=DEBUG

Nothing too earth-shattering here, I just wanted to make sure I put this log4j example out here, because I'm pretty happy with this as a Java, Spring, and JSF logging/debug solution.

In particular I like the logging format I've come up with (the ConversionPattern). JSF can be difficult to debug sometimes, and this approach seems to help quite a bit.

I'll update this post when I have improvements on this example Log4J properties file, but at this time this is what I'm using on a development system.