Browse Source

For configuring java.util.logging


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197423 13f79535-47bb-0310-9956-ffa450edef68
tags/Alt-Design_pre_awt_renderer_import
Peter Bernard West 20 years ago
parent
commit
c35ba0ae62
2 changed files with 48 additions and 0 deletions
  1. 7
    0
      conf/fop.system.properties
  2. 41
    0
      conf/logging.properties

+ 7
- 0
conf/fop.system.properties View File

@@ -0,0 +1,7 @@
############################################################
# FOP Logging Configuration File
#
# Properties in this file are added to the System properties
# when FOP starts.
############################################################
java.util.logging.config.file = conf/logging.properties

+ 41
- 0
conf/logging.properties View File

@@ -0,0 +1,41 @@
############################################################
# FOP Logging Configuration File
#
# For the meaning of entries in this file, see the default
# file $JDK_HOME/jre/lib/logging.properties.
# This file is specified in place of the default by setting
# the java.util.logging.config.file system property.
############################################################

############################################################
# Global properties
############################################################

handlers = java.util.logging.ConsoleHandler

.level = INFO

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

# default file output is in user's home directory.
java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter

# Limit the message that are printed on the console to CONFIG and above.
java.util.logging.ConsoleHandler.level = CONFIG
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter


############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################

# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
org.apache.fop.level = ALL

Loading…
Cancel
Save