The following settings configure the logging of the signoSign/Universal application. See also web.clientDebugLogging.
Default settings
Unless user-defined settings are used, logging on the console is performed by default via the Java Logging API (java.util.logging) with level INFO. Logging is configured in a separate properties file, which can be defined with logging.config.file. The settings cannot be entered directly into the configuration of signoSign/Universal (settings.properties).
The settings:
############################################################
# Logging Level
############################################################
# The levels in descending order are:
# - SEVERE (highest value)
# - WARNING
# - INFO
# - FINE
# - FINER
# - FINEST (lowest value)
# See also:
# https://docs.oracle.com/javase/8/docs/api/java/util/logging/Level.html
############################################################
# Global properties
############################################################
# "handlers" specifies a comma separated list of log Handler
# classes. These handlers will be installed during VM startup.
# Note that these classes must be on the system classpath.
handlers = java.util.logging.ConsoleHandler
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
de.signotec.level = INFO
org.apache.pdfbox.level = SEVERE
org.jboss.weld.level = INFO
config.file
This property can be used to specify a local path to an external configuration file for the standard Java logging API (java.util.logging). If this property is not set or is empty, the default configuration contained in signoSign/Universal in the file logging.properties is used.
The following levels can be used in the configuration.
Example of external logging settings
The following example extends the default settings to include logging to a file with the java.util.logging.FileHandler. Save the settings in a new file and then specify the path to the file using the key logging.config.file.
############################################################
# Logging Level
############################################################
# The levels in descending order are:
# - SEVERE (highest value)
# - WARNING
# - INFO
# - FINE
# - FINER
# - FINEST (lowest value)
# See also:
# https://docs.oracle.com/javase/8/docs/api/java/util/logging/Level.html
############################################################
# Global properties
############################################################
# "handlers" specifies a comma separated list of log Handler
# classes. These handlers will be installed during VM startup.
# Note that these classes must be on the system classpath.
handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
java.util.logging.FileHandler.level = INFO
java.util.logging.FileHandler.pattern = ../logs/signoSignUniversal_%g.log
java.util.logging.FileHandler.limit = 5000000
java.util.logging.FileHandler.count = 20
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.FileHandler.append = true
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
de.signotec.level = INFO
org.apache.pdfbox.level = SEVERE
org.jboss.weld.level = INFO
logging.config.file
|
Description |
This setting allows you to outsource the logging settings.
|
|
Possible values |
Absolute or relative file path to a logging configuration. |
|
Default value |
- |