logging.properties revision 949
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Logging Configuration File
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner# You can use a different file by specifying a filename
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# with the java.util.logging.config.file system property.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# For example java -Djava.util.logging.config.file=myfile
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Global properties
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# "handlers" specifies a comma separated list of log Handler
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# classes. These handlers will be installed during VM startup.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Note that these classes must be on the system classpath.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# By default we only configure a ConsoleHandler, which will only
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# show messages at the INFO and above levels.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#handlers= java.util.logging.ConsoleHandler
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# To also add the FileHandler, use the following line instead.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinhandlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Default global logging level.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This specifies which kinds of events are logged across
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# all loggers. For any given facility this global level
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# can be overriden by a facility specific level
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Note that the ConsoleHandler also has a separate level
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# setting to limit messages printed to the console.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Available logging levels: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# OFF will give no output, SEVERE will give very little output, FINEST and ALL will give lots of output.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.level= ALL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Handler specific properties.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Describes specific configuration info for Handlers.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# default file output is in user's home directory.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#java.util.logging.FileHandler.pattern = %hjava%u.log
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinjava.util.logging.FileHandler.pattern = opengrok%g.%u.log
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinjava.util.logging.FileHandler.limit = 52428800
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinjava.util.logging.FileHandler.count = 3
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinjava.util.logging.FileHandler.level = ALL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinjava.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Limit the message that are printed on the console to INFO and above.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinjava.util.logging.ConsoleHandler.level = INFO
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinjava.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Facility specific properties.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Provides extra control for each logger.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin############################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# For example, set the com.xyz.foo logger to only log SEVERE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# messages:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#com.xyz.foo.level = SEVERE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin