smart-data-bridge/logging.properties
This file specifies properties that control the system log messages recorded by the Smart Data Bridge. The Smart Data Bridge 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 following properties.
‘com.corestreet.level’
Required | Yes |
---|---|
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’
Required | Yes |
---|---|
Default | WARNING |
Description |
This property specifies the minimum level of system log events that will be displayed on the console page of the Management Console. Log messages at a level lower than this value will not be displayed. |
Example |
java.util.logging.ConsoleHandler.level=CONFIG |
‘com.corestreet.util.log.RollingLogFileHandler.level’
Required | Yes |
---|---|
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’
Required | Yes |
---|---|
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’
Required | No |
---|---|
Default | 100000 |
Description |
This property specifies the maximum size, in bytes, of system log files. When 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’
Required | Required ONLY if you want to activate email logging |
---|---|
Description |
This property specifies a comma-delimited list of email addresses that log messages should be sent to. |
Example | com.corestreet.util.log.EmailLogHandler.to.list=operator@yourcompany.com, administrator@yourcompany.com |
‘com.corestreet.util.log.EmailLogHandler.host’
Required | No |
---|---|
Description |
This property specifies a comma-delimited list of email addresses that log messages should be sent to. |
Example | com.corestreet.util.log.EmailLogHandler.host=mail.yourcompany.com |
‘com.corestreet.util.log.EmailLogHandler.interval’
Required | No |
---|---|
Description |
This property specifies the minimum interval, in seconds, between emails sent. Log events are aggregated and sent in a single email at the frequency specified by this property. This prevents recipients from receiving too many emails that contain duplicate event messages. |
Example | com.corestreet.util.log.EmailLogHandler.interval=1800 |
‘com.corestreet.util.log.EmailLogHandler.user’
Required | No |
---|---|
Description |
This property specifies the user name used, if necessary, to authenticate to the mail server when sending email. Many mail 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’
Required | No |
---|---|
Description |
This property specifies the password used, if necessary, to authenticate to the mail server when sending email. Many mail 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’
Required | No |
---|---|
Description |
This property specifies the address that logging event emails will appear to come from. |
Example |
com.corestreet.util.log.EmailLogHandler.from.address=corestreet@yourcompany.com |
‘com.corestreet.util.log.EmailLogHandler.subject.tag’
Required | No |
---|---|
Description |
This property specifies the email subject line used in logging event emails. |
Example |
com.corestreet.util.log.EmailLogHandler.from.address=corestreet@yourcompany.com |
‘com.corestreet.util.log.EmailLogHandler.level’
Required | No |
---|---|
Description |
This property specifies the minimum level of system log 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.EmailLogHa |