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 17#------------------------------------------------------------------------------ 18# Default logging property file. 19# This file is used by java.util.logging package as default settings, users can 20# specify another file instead with java.util.logging.config.file system 21# property, this property can be set via the Preference API, or as VM arguments 22# passed to "java" command, or as property definition passed to JNI_CreateJavaVM. 23# You can refer to JavaDoc of java.util.logging package for more information 24# about this file. 25#------------------------------------------------------------------------------ 26 27#------------------------------------------------------------------------------ 28# Global settings 29#------------------------------------------------------------------------------ 30 31# Specify default level for global logger, the event whose level is below won't 32# be logged. You can specify level for every logger, otherwise the level of parent 33# logger will be used. You can also set the level for every handler, as below for 34# java.util.logging.ConsoleHandler. 35.level=INFO 36 37# Specify handler classes list, these classes will be instantiated during the 38# logging framework initialization. The list should be white space separated. 39# For example, use the line below to add SocketHandler. Note that the handler 40# classes must be in the classpath. 41# 42# handlers=java.util.logging.ConsoleHandler java.util.logging.SocketHandler 43# 44handlers=java.util.logging.ConsoleHandler 45 46# Specify a class names list, these classes' default constructor will be executed 47# during logging package initialization, which may contain some code to set the 48# logging configuration. The list should be white space separated, and the 49# classes must be in the classpath. 50# 51# config= 52 53 54#------------------------------------------------------------------------------ 55# Handler settings 56#------------------------------------------------------------------------------ 57 58# The properties below are samples for handler settings. 59#java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter 60#java.util.logging.ConsoleHandler.level=INFO 61#java.util.logging.FileHandler.limit=100000 62#java.util.logging.FileHandler.count=1 63#java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter 64#java.util.logging.FileHandler.pattern=%h/java%u.log 65 66