logging.properties revision 2ce4278be05419a8496c775050fd8ac9d548a0bf
140N/A# Properties file which configures the operation of the JDK
140N/A# logging facility.
140N/A
140N/A# The system will look for this config file, first using
140N/A# a System property specified at startup:
140N/A#
140N/A# >java -Djava.util.logging.config.file=myLoggingConfigFilePath
140N/A#
140N/A# If this property is not specified, then the config file is
140N/A# retrieved from its default location at:
140N/A#
140N/A# JDK_HOME/jre/lib/logging.properties
140N/A
140N/A############################################################
140N/A# Global properties
140N/A############################################################
140N/A# ------------------------------------------
140N/A# The set of handlers to be loaded upon startup.
140N/A# Comma-separated list of class names.
140N/A# (? LogManager docs say no comma here, but JDK example has comma.)
710N/A# StreamHandler: A simple handler for writing formatted records to an OutputStream.
140N/A# ConsoleHandler: A simple handler for writing formatted records to System.err
140N/A# FileHandler: A handler that writes formatted log records either to a single file, or to a set of rotating log files.
140N/A# SocketHandler: A handler that writes formatted log records to remote TCP ports.
140N/A# MemoryHandler: A handler that buffers log records in memory.
710N/A# handlers=java.util.logging.ConsoleHandler
618N/Ahandlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
140N/A
140N/A# Default global logging level.
710N/A# This specifies which kinds of events are logged across
710N/A# all loggers. For any given facility this global level
140N/A# can be overriden by a facility specific level
140N/A# Note that the ConsoleHandler also has a separate level
140N/A# setting to limit messages printed to the console.
140N/A# Loggers and Handlers may override this level
140N/A.level=INFO
140N/A
140N/A# Loggers
140N/A# ------------------------------------------
140N/A# Loggers are usually attached to packages.
140N/A# Here, the level for each package is specified.
140N/A# The global level is used by default, so levels
140N/A# specified here simply act as an override.
140N/A# The levels in descending order are:
140N/A# SEVERE (highest value)
140N/A# WARNING
140N/A# INFO
140N/A# CONFIG
140N/A# FINE
140N/A# FINER
140N/A# FINEST (lowest value)
140N/A
140N/A############################################################
140N/A# Facility specific properties.
140N/A# Provides extra control for each logger.
140N/A############################################################
181N/A#org.forgerock.openidm.provisioner.level = FINER
140N/A#org.forgerock.openidm.repo.level = FINER
140N/A#org.forgerock.openidm.recon.level = FINER
140N/A
140N/A# OpenICF is noisy at INFO level
140N/Acom.forgerock.openicf.level=WARNING
# Logs the output from OSGi logging
org.forgerock.openidm.Framework.level=WARNING
# On restart the BarURLHandler can create warning noise
org.activiti.osgi.BarURLHandler.level=SEVERE
# Suppress warnings of failed connector loading
org.identityconnectors.framework.impl.api.local.LocalConnectorInfoManagerImpl.level=SEVERE
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
# --- ConsoleHandler ---
# Default: java.util.logging.ConsoleHandler.level = INFO
# Override of global logging level
java.util.logging.ConsoleHandler.level = WARNING
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# specifies the name of the filter class to be associated with this handler,
# defaults to {@code null} if this property is not found or has an invalid value.
java.util.logging.ConsoleHandler.filter=org.forgerock.openidm.logging.util.LogFilter
# --- FileHandler ---
# Override of global logging level
java.util.logging.FileHandler.level = ALL
# Naming style for the output file:
# (The output file is placed in the directory
# defined by the "user.home" System property.)
# java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.pattern = logs/openidm%u.log
# Limiting size of output file in bytes:
java.util.logging.FileHandler.limit = 5242880
# Number of output files to cycle through, by appending an
# integer to the base file name:
java.util.logging.FileHandler.count = 5
# Style of output (Simple or XML):
# Writes brief "human-readable" summaries of log records.
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
# Writes detailed XML-structured information.
# java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
# specifies the character set encoding name.
# defaults to the default platform encoding
java.util.logging.FileHandler.encoding = UTF-8