### Configuration of the loggers. ### # By default all of these loggers log only to the console. Applications can reconfigure these # to whatever they need. # Configuration for all Apache components (including tomcat, jakarta, struts, connectors, jasper). # Set this to info level to get a few messages when starting up and shutting down. log4j.logger.org.apache = info, stdout # Configuration for xwork log4j.logger.com.opensymphony = warn, stdout # ... and hibernate log4j.logger.org.hibernate = warn, stdout # ... and radeox log4j.logger.org.radeox = warn, stdout # ... and freemarker log4j.logger.freemarker.cache = warn, stdout # ... and Spring log4j.logger.org.springframework = warn, stdout # Finally our own default configuration (this will be adjusted at runtime). # By default set this to most verbose level. log4j.logger.com.mysql = all, stdout #### Configuration of the appenders. ### #log4j.appender.stdout = org.apache.log4j.ConsoleAppender log4j.appender.stdout = org.apache.log4j.RollingFileAppender log4j.appender.stdout.File=${catalina.base}/logs/tomcat.log log4j.appender.stdout.MaxFileSize=10MB log4j.appender.stdout.MaxBackupIndex=10 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Output of file name and line number. log4j.appender.stdout.layout.ConversionPattern = %d %5p [%t:%c] %m%n