Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame^] | 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 |
|
| 16 | handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
|
| 17 |
|
| 18 | .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
|
| 19 |
|
| 20 | ############################################################
|
| 21 | # Handler specific properties.
|
| 22 | # Describes specific configuration info for Handlers.
|
| 23 | ############################################################
|
| 24 |
|
| 25 | 1catalina.org.apache.juli.FileHandler.level = FINE
|
| 26 | 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
|
| 27 | 1catalina.org.apache.juli.FileHandler.prefix = catalina.
|
| 28 |
|
| 29 | 2localhost.org.apache.juli.FileHandler.level = FINE
|
| 30 | 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
|
| 31 | 2localhost.org.apache.juli.FileHandler.prefix = localhost.
|
| 32 |
|
| 33 | 3manager.org.apache.juli.FileHandler.level = FINE
|
| 34 | 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
|
| 35 | 3manager.org.apache.juli.FileHandler.prefix = manager.
|
| 36 |
|
| 37 | 4host-manager.org.apache.juli.FileHandler.level = FINE
|
| 38 | 4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
|
| 39 | 4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
|
| 40 |
|
| 41 | java.util.logging.ConsoleHandler.level = FINE
|
| 42 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
|
| 43 |
|
| 44 |
|
| 45 | ############################################################
|
| 46 | # Facility specific properties.
|
| 47 | # Provides extra control for each logger.
|
| 48 | ############################################################
|
| 49 |
|
| 50 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
|
| 51 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
|
| 52 |
|
| 53 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
|
| 54 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
|
| 55 |
|
| 56 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
|
| 57 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.FileHandler
|
| 58 |
|
| 59 | # For example, to log debug messages in ContextConfig and HostConfig
|
| 60 | # classes and to log only warnings and errors in other
|
| 61 | # org.apache.catalina.** classes, uncomment these lines:
|
| 62 | #org.apache.catalina.startup.ContextConfig.level = FINE
|
| 63 | #org.apache.catalina.startup.HostConfig.level = FINE
|
| 64 | #org.apache.catalina.level = WARNING
|