Settings: logging
The following settings configure the logging of the signoSign/Universal application. See also web.clientDebugLogging.
Default settings
If no external settings are used, the Java Logging API (java.util.logging) logs to the console with level INFO by default.
############################################################
# 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 of an external configuration file for the Standard Java Logging API (java.util.logging). If this property is not set or if it is empty, the standard configuration contained in signoSign/Universal is used in the file logging.properties.
Example of external logging settings
The following example extends the standard settings with the addition of logging to a file with the java.util.logging.FileHandler.
############################################################
# 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 can be used to outsource the logging settings.
|
Possible values | Absolute or relative file path to a logging configuration. |
Default value | - |