log4j.properties 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. # For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml!
  2. # For all other servers: Comment out the Log4J listener in web.xml to activate Log4J.
  3. log4j.rootLogger=ERROR, stdout, logfile
  4. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  5. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  6. log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
  7. log4j.appender.logfile=org.apache.log4j.RollingFileAppender
  8. log4j.appender.logfile.File=cas.log
  9. log4j.appender.logfile.MaxFileSize=512KB
  10. # Keep three backup files.
  11. log4j.appender.logfile.MaxBackupIndex=3
  12. # Pattern to output: date priority [category] - message
  13. log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
  14. log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n
  15. # WARNING: Setting the org.springframework logger to DEBUG displays debug information about
  16. # the request parameter values being bound to the command objects. This could expose your
  17. # password in the log file. If you are sharing your log files, it is recommend you selectively
  18. # apply DEBUG level logging on a an org.springframework.* package level (i.e. org.springframework.dao)
  19. log4j.logger.org.springframework=WARN
  20. #log4j.logger.org.springframework.web.servlet.i18n=DEBUG
  21. #log4j.logger.org.springframework.web.servlet.view=DEBUG
  22. #log4j.logger.org.quartz=DEBUG
  23. log4j.logger.org.jasig=INFO
  24. #log4j.logger.org.jasig.cas.authentication=DEBUG
  25. #log4j.logger.org.jasig.cas.web.flow.TicketGrantingTicketCheckAction=DEBUG
  26. #log4j.logger.org.jasig.cas.services.DefaultServiceRegistry=DEBUG
  27. #log4j.logger.org.org.jasig.cas.services=DEBUG