⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 log4j.properties

📁 Strut数据库开发中的JSF项目
💻 PROPERTIES
字号:
# This is the configuring for logging displayed in the Application Serverlog4j.rootCategory=INFO, stdout# Replace the line above if you want to put a log file into the directory # you start Tomcat from# log4j.rootCategory=INFO, stdout, Rlog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayout# Pattern to output the caller's file name and line number.log4j.appender.stdout.layout.ConversionPattern=[HelpSecurity] %p [%t] %c{1}.%M(%L) | %m%nlog4j.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# filelog4j.appender.R.File=HelpSecurity.loglog4j.appender.R.MaxFileSize=100KB# Don't keep a backup filelog4j.appender.R.MaxBackupIndex=0log4j.appender.R.layout=org.apache.log4j.PatternLayoutlog4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n# Configuration for receiving e-mails when ERROR messages occur.log4j.appender.mail=org.apache.log4j.net.SMTPAppenderlog4j.appender.mail.To=junk@raibledesigns.comlog4j.appender.mail.From=localhost@raibledesigns.comlog4j.appender.mail.SMTPHost=localhostlog4j.appender.mail.Threshold=ERRORlog4j.appender.mail.BufferSize=1log4j.appender.mail.Subject=[localhost] HelpSecurity Application Errorlog4j.appender.mail.layout=org.apache.log4j.PatternLayoutlog4j.appender.mail.layout.ConversionPattern=%d  %-5p %c %x - %m%n# If programmed properly the most messages would be at DEBUG # and the least at FATAL.log4j.logger.com.relationinfo=DEBUGlog4j.logger.com.relationinfo.webapp.filter=ERRORlog4j.logger.com.relationinfo.webapp.listener.UserCounterListener=WARNlog4j.logger.com.relationinfo.util=WARN# Control logging for other open source packageslog4j.logger.com.opensymphony.oscache=ERRORlog4j.logger.net.sf.navigator=ERRORlog4j.logger.net.sf.acegisecurity=WARNlog4j.logger.net.sf.acegisecurity.intercept.event.LoggerListener=WARNlog4j.logger.org.apache.commons=ERROR# Suppress warnings from VariableResolverImpl.resolveVariablelog4j.logger.org.apache.myfaces=ERRORlog4j.logger.org.displaytag=ERRORlog4j.logger.org.springframework=WARNlog4j.logger.com.ibatis.db=WARNlog4j.logger.org.apache.velocity=WARN# Don't show debug logs for WebTestlog4j.logger.com.canoo.webtest=WARN# All hibernate log output of "info" level or higher goes to stdout.# For more verbose logging, change the "info" to "debug" on the last line.log4j.logger.org.hibernate.ps.PreparedStatementCache=WARNlog4j.logger.org.hibernate=WARN# Changing the log level to DEBUG will result in Hibernate generated# SQL to be logged.log4j.logger.org.hibernate.SQL=ERROR# Changing the log level to DEBUG will result in the PreparedStatement# bound variable values to be logged.log4j.logger.org.hibernate.type=ERROR 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -