?? log4j.properties
字號:
# This is the configuring for logging displayed in the Application Server
log4j.rootCategory=DEBUG, stdout
# Replace the line above if you want to put a log file into the directory
# you start Tomcat from
# log4j.rootCategory=INFO, stdout, R
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%t %d{dd/MM HH:mm:ss,SSS} %p [%20.30c{2}]-%L %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
# You can change this to be an absolute path or even an environment variable
# If you're using an environment variable, you will have to set JAVA_OPTS
# to contain this variables - for example in the catalina.sh or catalina.bat
# file
log4j.appender.R.File=${catalina.home}/logs/euctia.log
log4j.appender.R.MaxFileSize=1000KB
# Don't keep a backup file
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%t %d{dd/MM HH:mm:ss,SSS} %p [%20.30c{2}]-%L %m%n
log4j.logger.com.eucita=DEBUG
log4j.logger.com.eucita.component.acegi=WARN
log4j.logger.com.eucita.utils.GenericsUtils=ERROR
# If programmed properly the most messages would be at DEBUG
# and the least at FATAL.
# Control logging for other open source packages
#log4j.logger.org.apache.commons=ERROR
log4j.logger.org.springframework=DEBUG
log4j.logger.org.acegisecurity=WARN
log4j.logger.org.springframework.transaction=WARN
log4j.logger.com.ibatis=DEBUG
log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG
log4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUG
log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=DEBUG
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=WARN
log4j.logger.java.sql.ResultSet=WARN
log4j.logger.com.atomikos=WARN
#log4j.logger.org.apache.activemq.command.ActiveMQObjectMessage=DEBUG
#log4j.logger.org.springframework.jms.support.converter.MessageConverter=DEBUG
log4j.logger.org.springframework.aop.framework.Cglib2AopProxy=ERROR
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -