Bez popisu

logging.properties 4.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. handlers = 1catalina.org.apache.juli.AsyncFileHandler, 2localhost.org.apache.juli.AsyncFileHandler, 3manager.org.apache.juli.AsyncFileHandler, 4host-manager.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler
  16. .handlers = 1catalina.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler
  17. ############################################################
  18. # Handler specific properties.
  19. # Describes specific configuration info for Handlers.
  20. ############################################################
  21. 1catalina.org.apache.juli.AsyncFileHandler.level = FINE
  22. 1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
  23. 1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.
  24. 1catalina.org.apache.juli.AsyncFileHandler.maxDays = 90
  25. 1catalina.org.apache.juli.AsyncFileHandler.encoding = UTF-8
  26. 2localhost.org.apache.juli.AsyncFileHandler.level = FINE
  27. 2localhost.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
  28. 2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost.
  29. 2localhost.org.apache.juli.AsyncFileHandler.maxDays = 90
  30. 2localhost.org.apache.juli.AsyncFileHandler.encoding = UTF-8
  31. 3manager.org.apache.juli.AsyncFileHandler.level = FINE
  32. 3manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
  33. 3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
  34. 3manager.org.apache.juli.AsyncFileHandler.maxDays = 90
  35. 3manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8
  36. 4host-manager.org.apache.juli.AsyncFileHandler.level = FINE
  37. 4host-manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
  38. 4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.
  39. 4host-manager.org.apache.juli.AsyncFileHandler.maxDays = 90
  40. 4host-manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8
  41. java.util.logging.ConsoleHandler.level = FINE
  42. java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
  43. java.util.logging.ConsoleHandler.encoding = UTF-8
  44. ############################################################
  45. # Facility specific properties.
  46. # Provides extra control for each logger.
  47. ############################################################
  48. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
  49. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.AsyncFileHandler
  50. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
  51. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.AsyncFileHandler
  52. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
  53. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.AsyncFileHandler
  54. # For example, set the org.apache.catalina.util.LifecycleBase logger to log
  55. # each component that extends LifecycleBase changing state:
  56. #org.apache.catalina.util.LifecycleBase.level = FINE
  57. # To see debug messages in TldLocationsCache, uncomment the following line:
  58. #org.apache.jasper.compiler.TldLocationsCache.level = FINE
  59. # To see debug messages for HTTP/2 handling, uncomment the following line:
  60. #org.apache.coyote.http2.level = FINE
  61. # To see debug messages for WebSocket handling, uncomment the following line:
  62. #org.apache.tomcat.websocket.level = FINE