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