A.5.1 Sample Configuration File

The following is a sample logging configuration file. Make special note of the comments inthe following sample as they contain constraints that relate to properties and logging.

# Specify which priorities are enabled in a hierarchical fashion, i.e., if #DIAGNOSTIC priority is enabled, NOTICE, WARN, and FATAL are also enabled, # but TRACE is not.#Uncomment the desired log level to turn on appropriate level(s).# Note, DIAGNOSTIC logging is used to log database statements and will slow #down performance. Only turn on if you need to see the SQL statements being # executed.#TRACE logging is used for debugging during development. Also only turn on # TRACE if
        needed.#log.fatal=true #log.warning=true log.notice=true #log.diagnostic=true
        #log.trace=true #Specify whether logging for a particular level should be performed # synchronously or
        asynchronously.log.fatal.synchronous=false log.warning.synchronous=false log.notice.synchronous=false
        log.diagnostic.synchronous=false log.trace.synchronous=true #Specify the format of the log output. Can be modified according to the
          format#specifications at:#http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html#NOTE: Because of the nature of asynchronous logging, detailed information # (class name, line number, etc.) cannot
        be obtained when logging#asynchronously. Therefore, if this information is desired (i.e. specified#below), the above synchronous properties must be set accordingly (for the#levels for which this detailed information is desired). Also note that
          this#type of detailed information can only be obtained for Java code.
        log.format=%d [%t] %p %m%n #Specify the full path and file name of the message library. log.message.library=@WORKFLOW_LOG_MESSAGE_LIB_FILE@
# Specify the full path to the categories.cfg file log.categories.file.path=@WORKFLOW_LOG_CATEGORY_PATH@ #Multiple locations can be listed for each property using a comma delimiter. log.category.TEST_CATEGORY.location=console, mantaslog log.category.TEST_CATEGORY_2.location=console, /users/jsmith/logs/mylog.log #Specify where messages of a specific severity and category should be logged to.#The valid values are the same number as for category.#Multiple locations can be listed for each property using a comma delimiter. # If an entry for a
        severity is not listed here, the message is logged to#the location specified for the category number by the above property, and if that does not exist,
        it is logged to the default location configured below. log.TEST_CATEGORY.warning.location=syslog log.TEST_CATEGORY.fatal.location=user@domain.com log.TEST_CATEGORY_2.warning.location=syslog ## Specify the full path to the external log4j configuration file log4j.config.file=@WORKFLOW_LOG4J_CONFIG_FILE@ #Specify where a message should get logged for a category for which there is
        # no location property listed above.#This is also the logging location of the default Oracle Financial Services category
        unless#otherwise specified above.#Note that if this property is not specified, logging will go to the console.log.default.location= #Specify the location (directory path) of the mantaslog, if the mantaslog # was chosen as the log output location anywhere
      above.#Logging will go to the console if mantaslog was selected and this property is not given a value.log.mantaslog.location=
#Specify the hostname of syslog if syslog was chosen as the log output location#anywhere above.#Logging will go to the console if syslog was selected and this property is # not given a value.log.syslog.hostname= #Specify the hostname of the SMTP server if an e-mail address was chosen as
        # the log output location anywhere above.#Logging will go to the console if an e-mail address was selected and this # property is not given a
        value.log.smtp.hostname= #Specify the maxfile size of a logfile before the log messages get rolled to # a new file (measured in
        bytes).#If this property is not specified, the default of 10 MB will be used. log.max.size=2000000000