annotate tomcat/logging.properties @ 467:cd04f62ccd35

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