PRODUCTION_LOGGING.properties 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ## This log4j configuration file needs to stay here, and is used as the default logging setup
  2. ## during data_dir upgrades and in case the chosen logging config isn't available.
  3. ##
  4. ## As GeoTools uses java.util.logging logging instead of log4j, GeoServer makes
  5. ## the following mappings to adjust the log4j levels specified in this file to
  6. ## the GeoTools logging system:
  7. ##
  8. ## Log4J Level java.util.logging Level
  9. ## --------------------------------------------
  10. ## ALL FINEST
  11. ## TRACE FINER
  12. ## DEBUG FINE (includes CONFIG)
  13. ## INFO INFO
  14. ## WARN/ERROR WARNING
  15. ## FATAL SEVERE
  16. ## OFF OFF
  17. log4j.rootLogger=WARN, geoserverlogfile, stdout
  18. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  19. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  20. log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c{2}] - %m%n
  21. log4j.appender.geoserverlogfile=org.apache.log4j.RollingFileAppender
  22. # Keep three backup files.
  23. log4j.appender.geoserverlogfile.MaxBackupIndex=3
  24. # Pattern to output: date priority [category] - message
  25. log4j.appender.geoserverlogfile.layout=org.apache.log4j.PatternLayout
  26. log4j.appender.geoserverlogfile.layout.ConversionPattern=%d %p [%c{2}] - %m%n
  27. log4j.category.log4j=FATAL
  28. log4j.category.org.geotools=WARN
  29. log4j.category.org.geotools.factory=WARN
  30. log4j.category.org.geoserver=WARN
  31. log4j.category.org.vfny.geoserver=WARN
  32. log4j.category.org.springframework=WARN
  33. log4j.category.org.geowebcache=ERROR