logging.properties #1

  • //
  • guest/
  • robert_cowham/
  • perforce/
  • utils/
  • p4dtg/
  • P4DTG-Windows/
  • jira/
  • logging.properties
  • View
  • Commits
  • Open Download .zip Download (2 KB)
# Properties file which configures the operation of the JDK
# logging facility.

# The system will look for this config file, first using
# a System property specified at startup:
#
# >java -Djava.util.logging.config.file=myLoggingConfigFilePath
#
# If this property is not specified, then the config file is
# retrieved from its default location at:
#
# JDK_HOME/jre/lib/logging.properties

# Global logging properties.
# ------------------------------------------
# The set of handlers to be loaded upon startup.
# Comma-separated list of class names.
# (? LogManager docs say no comma here, but JDK example has comma.)
#handlers=com.perforce.p4dtg.plugin.jira.logging.FileHandler, java.util.logging.ConsoleHandler
handlers=com.perforce.p4dtg.plugin.jira.logging.FileHandler

# Default global logging level.
# Loggers and Handlers may override this level
.level=INFO

# Loggers
# ------------------------------------------
# Loggers are usually attached to packages.
# Here, the level for each package is specified.
# The global level is used by default, so levels
# specified here simply act as an override.
#com.perforce.p4dtg.plugin.jira.soap.level=ALL
#com.perforce.p4dtg.plugin.jira.tcp.level=SEVERE

# Handlers
# -----------------------------------------

# --- ConsoleHandler ---
# Override of global logging level
#java.util.logging.ConsoleHandler.level=SEVERE
#java.util.logging.ConsoleHandler.level=ALL
#java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter

# --- 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=repl/jira-dts-${javadts.TCP_PORT}.log

# Limiting size of output file in bytes:
# 5MB = 5242880 bytes
java.util.logging.FileHandler.limit=5242880

# Specifies whether the FileHandler should append onto any existing files (defaults to false)
java.util.logging.FileHandler.append=true

# Number of output files to cycle through, by appending an
# integer to the base file name:
java.util.logging.FileHandler.count=3

# Style of output (Simple or XML):
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
# Change User Description Committed
#1 9669 Robert Cowham P4DTG 2010.2 for Windows