logging.properties 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4admin.org.apache.juli.FileHandler, 5host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
  2. .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
  3. ############################################################
  4. # Handler specific properties.
  5. # Describes specific configuration info for Handlers.
  6. ############################################################
  7. 1catalina.org.apache.juli.FileHandler.level = FINE
  8. 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
  9. 1catalina.org.apache.juli.FileHandler.prefix = catalina.
  10. 2localhost.org.apache.juli.FileHandler.level = FINE
  11. 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
  12. 2localhost.org.apache.juli.FileHandler.prefix = localhost.
  13. 3manager.org.apache.juli.FileHandler.level = FINE
  14. 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
  15. 3manager.org.apache.juli.FileHandler.prefix = manager.
  16. 4admin.org.apache.juli.FileHandler.level = FINE
  17. 4admin.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
  18. 4admin.org.apache.juli.FileHandler.prefix = admin.
  19. 5host-manager.org.apache.juli.FileHandler.level = FINE
  20. 5host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
  21. 5host-manager.org.apache.juli.FileHandler.prefix = host-manager.
  22. java.util.logging.ConsoleHandler.level = FINE
  23. java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
  24. ############################################################
  25. # Facility specific properties.
  26. # Provides extra control for each logger.
  27. ############################################################
  28. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
  29. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
  30. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
  31. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
  32. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].level = INFO
  33. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].handlers = 4admin.org.apache.juli.FileHandler
  34. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
  35. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 5host-manager.org.apache.juli.FileHandler
  36. # For example, set the com.xyz.foo logger to only log SEVERE
  37. # messages:
  38. #org.apache.catalina.startup.ContextConfig.level = FINE
  39. #org.apache.catalina.startup.HostConfig.level = FINE
  40. #org.apache.catalina.session.ManagerBase.level = FINE
  41. #org.apache.catalina.core.AprLifecycleListener.level=FINE