META-INF.config-template.example.files.log4j.properties Maven / Gradle / Ivy
#
# THIS IS A SAMPLE LOG4J CONFIGURATION
#
# YOU CAN MODIFY IT AS YOU WANT!
#
log4j.rootLogger=DEBUG, R, console
log4j.logger.lodsve=DEBUG
log4j.logger.net.sf.ehcache=DEBUG
log4j.logger.org.alfresco=DEBUG
log4j.logger.org.springframework=DEBUG
log4j.logger.org.springframework.web.servlet=DEBUG
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=${user.home}/lodsve/logs/lodsve.log
log4j.appender.R.MaxFileSize=2MB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%p]%d{yyyy-MM-dd HH:mm:ss,SSS} %l-%m%n
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss,SSS} [%p] %l %m%n