log4j

#log4j.appender.R=org.apache.log4j.ConsoleAppender

#log4j.appender.R.layout=org.apache.log4j.PatternLayout

#log4j.appender.R.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [%c]-[%p] %m%n

log4j.appender.R=org.apache.log4j.RollingFileAppender

log4j.appender.R.File=../logs/eshop-back-error.log

log4j.appender.R.MaxBackupIndex=10

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [%c]-[%p] %m%n


log4j.rootLogger=ERROR, R

log4j.logger.sap=ERROR, R

log4j.additivity.sap=false

log4j.logger.com.sap=ERROR, R

log4j.additivity.com.sap=false

log4j.logger.org.springframework=ERROR, R

log4j.additivity.org.springframework=false

log4j.logger.org.hibernate=ERROR, R

log4j.additivity.org.hibernate=false

log4j.logger.mioclub=ERROR, R

log4j.additivity.mioclub=false

log4j.logger.org.directwebremoting=ERROR, R

log4j.additivity.org.directwebremoting=false

log4j.logger.org.apache.catalina=ERROR, R

log4j.additivity.org.apache.catalina=false

#log4j.logger.org.hibernate.SQL=DEBUG, R

#log4j.additivity.org.hibernate.SQL=false

你可能感兴趣的:(log4j)