logging.properties

This file specifies properties that control the system log messages recorded by the Validation Responder. The Validation Responder can be configured to log messages to the system console, to log files and via email. By default, console and file logging are enabled and email logging is disabled.

Each log message that is generated has an associated level that specifies how important the message is. Valid levels, in order of decreasing severity, are SEVERE, WARNING, INFO, CONFIG, FINE, FINER, and FINEST.

When editing logging properties, ensure that the property is not commented out by removing the leading # from the log line you are editing.

This configuration file can be used to specify the properties as listed in the following subsections.

The path is C:\Program Files\HID Global\Validation Responder\responder\logging.properties.

com.corestreet.level

Default CONFIG
Description

This property specifies the level at which system log events will be generated.

Log messages at a level lower than this value will not be recorded.

Example com.corestreet.level=FINE

java.util.logging.ConsoleHandler.level

Default WARNING
Description

This property specifies the minimum level of system log events that will be displayed on the console. Log messages at a level lower than this value will not be displayed.

Example

java.util.logging.ConsoleHandler.level=FINE

com.corestreet.util.log.RollingLogFileHandler.level

Default CONFIG
Description

This property specifies the minimum level of system log events that will be written to the system log files. Log messages at a level lower than this value will not be written.

Example

com.corestreet.util.log.RollingLogFileHandler.level=FINE

com.corestreet.util.log.RollingLogFileHandler.count

Default 10
Description

This property specifies the number of system log files that should be kept. As additional log files are created, older log files are discarded. In the default configuration, the 10 most recent log files are available.

Example

com.corestreet.util.log.RollingLogFileHandler.count=25

com.corestreet.util.log.RollingLogFileHandler.limit

Default 100000
Description

This property specifies the maximum size, in bytes, of system log files. Once a log file reaches the maximum size it is closed and a new log file is created. In the default configuration, log files are rolled over when they reach 100kb.

Example

com.corestreet.util.log.RollingLogFileHandler.limit=1000000

com.corestreet.util.log.EmailLogHandler.to.list

Description

This property specifies a comma-delimited list of email addresses where log messages should be sent.

Example

com.corestreet.util.log.EmailLogHandler.to.list=operator@yourcompany.com, administrator@yourcompany.com

com.corestreet.util.log.EmailLogHandler.host

Description

This property specifies the email server through which the mail should be sent.

Example

com.corestreet.util.log.EmailLogHandler.host=mail.yourcompany.com

com.corestreet.util.log.EmailLogHandler.interval

Description

This property specifies the minimum interval, in seconds, between emails sent. This prevents repeated log events from causing the recipients receiving too many emails. Log events are aggregated and sent in a single email at the frequency specified by this property.

Example

com.corestreet.util.log.EmailLogHandler.interval=1800

com.corestreet.util.log.EmailLogHandler.user

Description

This property specifies the user name used, if necessary, to authenticate to the email server when sending mail. Many email servers do not require authentication. When authentication is required, specify the user name in this property.

Example

com.corestreet.util.log.EmailLogHandler.user=operator@yourcompany.com

com.corestreet.util.log.EmailLogHandler.password

Description

This property specifies the password used, if necessary, to authenticate to the email server when sending mail. Many email servers do not require authentication. When authentication is required, specify the password in this property.

Example

com.corestreet.util.log.EmailLogHandler.password=tr1ckypa55w0rd

com.corestreet.util.log.EmailLogHandler.from.address

Description

This property specifies the address from which logging event emails will appear to originate.

Example

com.corestreet.util.log.EmailLogHandler.from.address=activid@yourcompany.com

com.corestreet.util.log.EmailLogHandler.subject.tag

Description

This property specifies the email subject line used in logging event emails..

Example

com.corestreet.util.log.EmailLogHandler.subject.tag=ActivID Logging Messages

com.corestreet.util.log.EmailLogHandler.level

Description

This property specifies the minimum level of logging events that are sent. To avoid large numbers of unnecessary emails, this value should normally be set to WARNING or higher.

Example

com.corestreet.util.log.EmailLogHandler.level=WARNING