A.5.2 Configurable Logging Properties

This topic identifies the configurable properties for logging in an Oracle client’s environment.

Table A-3 Configurable Logging Properties

Property Sample Value Description
log.format <Pattern>[%d{E dd/M/yyyy hh:mm:ss}] [@@CATAGORY@@] [%5p] -%m%n</Pattern> Identifies the log formatting string. Refer to Apache Software’s Short Introduction to log4j guide (http://logging.apache.org/ for more details about the log message format.
log.message.library To be specified at installation. Identifies the full path and filename of the message library.
log.max.size
<Policies>

<SizeBasedTriggeringPolicy size=""10000kb""/>
</Policies>
Determines the maximum size (in kilobytes) of a log file before the system creates a new log file.
log.category.<catgory_nam e>.location Contains routing information for message libraries for this category.
log.categories.file.path To be specified at installation. Identifies the full path to the categories.cfg file.
log.<category_name>.<severity>.location Contains routing information for message libraries with the given severity for the given category.
log4j.config.file To be specified at installation. Specifies the full path to the external log4j configuration file.
log.default.location Contains routing information for message libraries for this category for which there is no location previously specified.
log.mantaslog.location Contains routing information for message libraries for this category for which there is no location previously specified.
log.smtp.hostname Identifies the hostname of the SMTP server if e-mail address is specified as log output.
log.fatal true Indicates that fatal logging is enabled; false indicates that fatal logging is not enabled.
log.fatal.synchronous false Indicates that fatal level logging should happen asynchronously; true indicates fatal level logging should happen synchronously.

Note: Setting value to true (synchronous) may have performance impact

log.warning true Indicates enabling of warning logging; false indicates that warning logging is not enabled.
log.warning.synchronous false Indicates that warning level logging should happen asynchronously; true indicates warning level logging should happen synchronously.

Note: Setting value to true (synchronous) may have performance impact

log.notice true Indicates enabling of notice logging; false indicates that notice logging is not enabled.
log.notice.synchronous false Indicates that notice level logging should happen asynchronously; true indicates notice level logging should happen synchronously.

Note: Setting value to true (synchronous) may have performance impact

log.diagnostic false Indicates that diagnostic logging is not enabled; true indicates enabling of diagnostic logging.
log.diagnostic.synchronous false Indicates that diagnostic level logging should happen asynchronously; true indicates diagnostic level logging should happen synchronously.

Note: Setting value to true (synchronous) may have performance impact

log.trace false Indicates that trace logging is not enabled;

true indicates enabling of trace logging.

log.trace.synchronous true Indicates that trace level logging should happen asynchronously; true indicates trace level logging should happen synchronously.

Note: Setting value to true (synchronous) may have performance impact

log.syslog.hostname hostname Indicates the host name of syslog for messages sent to syslog.
log.time.zone US/Eastern Indicates the time zone that is used when logging messages.