logging.properties revision 245d622535c32563b59ef5027b1171167ba9b451
f743002678eb67b99bbc29fee116b65d9530fec0wrowe# Properties file which configures the operation of the JDK
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# logging facility.
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# The system will look for this config file, first using
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# a System property specified at startup:
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# >java -Djava.util.logging.config.file=myLoggingConfigFilePath
4da61833a1cbbca94094f9653fd970582b97a72etrawick# If this property is not specified, then the config file is
4da61833a1cbbca94094f9653fd970582b97a72etrawick# retrieved from its default location at:
4789804be088bcd86ae637a29cdb7fda25169521jailletc############################################################
4789804be088bcd86ae637a29cdb7fda25169521jailletc# Global properties
4789804be088bcd86ae637a29cdb7fda25169521jailletc############################################################
e50c3026198fd496f183cda4c32a202925476778covener# ------------------------------------------
e50c3026198fd496f183cda4c32a202925476778covener# The set of handlers to be loaded upon startup.
e50c3026198fd496f183cda4c32a202925476778covener# Comma-separated list of class names.
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin# (? LogManager docs say no comma here, but JDK example has comma.)
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin# StreamHandler: A simple handler for writing formatted records to an OutputStream.
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# ConsoleHandler: A simple handler for writing formatted records to System.err
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# FileHandler: A handler that writes formatted log records either to a single file, or to a set of rotating log files.
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# SocketHandler: A handler that writes formatted log records to remote TCP ports.
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic# MemoryHandler: A handler that buffers log records in memory.
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavichandlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# Default global logging level.
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# This specifies which kinds of events are logged across
69301145375a889e7e37caf7cc7321ac0f91801erpluem# all loggers. For any given facility this global level
69301145375a889e7e37caf7cc7321ac0f91801erpluem# can be overriden by a facility specific level
69301145375a889e7e37caf7cc7321ac0f91801erpluem# Note that the ConsoleHandler also has a separate level
506bfe33206b2fece40ef25f695af39dd4130facjkaluza# setting to limit messages printed to the console.
506bfe33206b2fece40ef25f695af39dd4130facjkaluza# Loggers and Handlers may override this level
d58a848a016d401b965111e50ef829e1641f7834minfrin# ------------------------------------------
d58a848a016d401b965111e50ef829e1641f7834minfrin# Loggers are usually attached to packages.
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf# Here, the level for each package is specified.
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf# The global level is used by default, so levels
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf# specified here simply act as an override.
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic# The levels in descending order are:
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic# SEVERE (highest value)
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic# FINEST (lowest value)
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic############################################################
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# Facility specific properties.
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# Provides extra control for each logger.
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic############################################################
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# OpenICF is noisy at INFO level
44ff304057225e944e220e981d434a046d14cf06covener# Logs the output from OSGi logging
44ff304057225e944e220e981d434a046d14cf06covener# On restart the BarURLHandler can create warning noise
5d1ba75b8794925e67591c209085a49279791de9covener############################################################
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand# Handler specific properties.
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand# Describes specific configuration info for Handlers.
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand############################################################
caad2986f81ab263f7af41467dd622dc9add17f3ylavic# --- ConsoleHandler ---
caad2986f81ab263f7af41467dd622dc9add17f3ylavic# Default: java.util.logging.ConsoleHandler.level = INFO
caad2986f81ab263f7af41467dd622dc9add17f3ylavic# Override of global logging level
45a10d38e6051fd7bdf9d742aaae633d97ff02abjailletcjava.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton# specifies the name of the filter class to be associated with this handler,
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton# defaults to {@code null} if this property is not found or has an invalid value.
2165214331e4afafca4048f66f303d0253d7b001covenerjava.util.logging.ConsoleHandler.filter=org.forgerock.openidm.logging.util.LogFilter
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem# --- FileHandler ---
1e2d421a36999d292042a5539971070d54aa6c63ylavic# Override of global logging level
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh# Naming style for the output file:
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh# (The output file is placed in the directory
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh# defined by the "user.home" System property.)
0b67eb8568cd58bb77082703951679b42cf098actrawick# java.util.logging.FileHandler.pattern = %h/java%u.log
0b67eb8568cd58bb77082703951679b42cf098actrawickjava.util.logging.FileHandler.pattern = logs/openidm%u.log
0b67eb8568cd58bb77082703951679b42cf098actrawick# Limiting size of output file in bytes:
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener# Number of output files to cycle through, by appending an
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic# integer to the base file name:
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic# Style of output (Simple or XML):
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic# Writes brief "human-readable" summaries of log records.
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavicjava.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc# Writes detailed XML-structured information.
e466c40e1801982602ee0200c9e8b61cc148742djailletc# java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
457468b82e59d01eba00dd9d0817309c8f5e414ejim# specifies the character set encoding name.
457468b82e59d01eba00dd9d0817309c8f5e414ejim# defaults to the default platform encoding