A.5.2 Logging Location Property Values
The log.category.<CATEGORY_NAME>.location property enables you to specify the location of a message for a specific category. If you do not specify a location value, the system logs messages in a default location.
The following table identifies the valid values for this property.
Table A-2 LoggingLocation Property Values
PropertyValue | LogLocation |
---|---|
console | Records the logs to the system.out or
system.err file.
|
syslog | Records the logs to a remote UNIX syslog daemon. This is the default location. |
eventviewer | Records the logs to the Event Log system. |
mantaslog |
Indicates the format of the mantaslog filename as
|
<path>/ <filename> |
Records the logs to a file with the filename
<filename> , which resides at <path> .
For example,
log.message.library=/user/jsmith/message/messages.dat |
<name@address> | Records the logs in a message to the e-mail address indicated by <name@address>. |
Note that category names (that is, property values) cannot contain the following reserved words: fatal, warning, notice, diagnostic, trace, category, or location. You can configure multiple locations for each property using a comma delimiter.
For example:
log.category.TEST_CATEGORY.location=console, mantaslog log.category.TEST_CATEGORY_2.location=console, /users/jsmith/logs/mylog.log