📄 log4j.properties
字号:
# For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml!# For all other servers: Comment out the Log4J listener in web.xml to activate Log4J.log4j.rootLogger=ERROR, stdout, logfilelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%nlog4j.appender.logfile=org.apache.log4j.RollingFileAppenderlog4j.appender.logfile.File=cas.loglog4j.appender.logfile.MaxFileSize=512KB# Keep three backup files.log4j.appender.logfile.MaxBackupIndex=3# Pattern to output: date priority [category] - messagelog4j.appender.logfile.layout=org.apache.log4j.PatternLayoutlog4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n# WARNING: Setting the org.springframework logger to DEBUG displays debug information about# the request parameter values being bound to the command objects. This could expose your# password in the log file. If you are sharing your log files, it is recommend you selectively# apply DEBUG level logging on a an org.springframework.* package level (i.e. org.springframework.dao)log4j.logger.org.springframework=WARN#log4j.logger.org.springframework.web.servlet.i18n=DEBUG#log4j.logger.org.springframework.web.servlet.view=DEBUG#log4j.logger.org.quartz=DEBUGlog4j.logger.org.jasig=INFO# WARNING: Setting the flow package to DEBUG will display# the parameters posted to the login servlet including# cleartext authentication credentialslog4j.logger.org.jasig.cas.web.flow=INFO#log4j.logger.org.jasig.cas.authentication=DEBUG#log4j.logger.org.jasig.cas.web.flow.TicketGrantingTicketCheckAction=DEBUG#log4j.logger.org.jasig.cas.services.DefaultServiceRegistry=DEBUG#log4j.logger.org.org.jasig.cas.services=DEBUG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -