1############################################################ 2# Global properties 3############################################################ 4 5# "handlers" specifies a comma separated list of log Handler 6# classes. These handlers will be installed during VM startup. 7# Note that these classes must be on the system classpath. 8# By default we only configure a ConsoleHandler, which will only 9# show messages at the INFO and above levels. 10handlers= java.util.logging.ConsoleHandler 11 12# To also add the FileHandler, use the following line instead. 13#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler 14 15# Default global logging level. 16# This specifies which kinds of events are logged across 17# all loggers. For any given facility this global level 18# can be overriden by a facility specific level 19# Note that the ConsoleHandler also has a separate level 20# setting to limit messages printed to the console. 21.level= INFO 22 23############################################################ 24# Handler specific properties. 25# Describes specific configuration info for Handlers. 26############################################################ 27 28# default file output is in user's home directory. 29java.util.logging.FileHandler.pattern = %h/java%u.log 30java.util.logging.FileHandler.limit = 50000 31java.util.logging.FileHandler.count = 1 32# Default number of locks FileHandler can obtain synchronously. 33# This specifies maximum number of attempts to obtain lock file by FileHandler 34# implemented by incrementing the unique field %u as per FileHandler API documentation. 35java.util.logging.FileHandler.maxLocks = 100 36java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter 37 38# Limit the message that are printed on the console to INFO and above. 39java.util.logging.ConsoleHandler.level = ALL 40java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter 41 42# Example to customize the SimpleFormatter output format 43# to print one-line log message like this: 44# <level>: <log message> [<date/time>] 45# 46# java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n 47 48############################################################ 49# Facility specific properties. 50# Provides extra control for each logger. 51############################################################ 52 53# For example, set the com.xyz.foo logger to only log SEVERE 54# messages: 55javax.management.level = ALL 56