1############################################################ 2# Test Logging Configuration File 3# 4# This file is a clone of the Default Logging Configuration File 5# 6# It defines two test specific properties (at the bottom): 7# - myParentLogger.level = INFO 8# - abc.xyz.foo.level = SEVERE 9############################################################ 10 11############################################################ 12# Global properties 13############################################################ 14 15# "handlers" specifies a comma separated list of log Handler 16# classes. These handlers will be installed during VM startup. 17# Note that these classes must be on the system classpath. 18# By default we only configure a ConsoleHandler, which will only 19# show messages at the INFO and above levels. 20handlers= java.util.logging.ConsoleHandler 21 22# To also add the FileHandler, use the following line instead. 23#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler 24 25# Default global logging level. 26# This specifies which kinds of events are logged across 27# all loggers. For any given facility this global level 28# can be overriden by a facility specific level 29# Note that the ConsoleHandler also has a separate level 30# setting to limit messages printed to the console. 31.level= INFO 32 33############################################################ 34# Handler specific properties. 35# Describes specific configuration info for Handlers. 36############################################################ 37 38# default file output is in user's home directory. 39java.util.logging.FileHandler.pattern = %h/java%u.log 40java.util.logging.FileHandler.limit = 50000 41java.util.logging.FileHandler.count = 1 42java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter 43 44# Limit the message that are printed on the console to INFO and above. 45java.util.logging.ConsoleHandler.level = INFO 46java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter 47 48 49############################################################ 50# Facility specific properties. 51# Provides extra control for each logger. 52############################################################ 53 54# For example, set the com.xyz.foo logger to only log SEVERE 55# messages: 56com.xyz.foo.level = SEVERE 57 58############################################################ 59# The test specific properties. 60############################################################ 61myParentLogger.level = INFO 62abc.xyz.foo.level = SEVERE 63