| Valid in: | XML configuration |
facilitycode configuration option specifies the system
facility value that generated the message. It can have any of the
following log values:
facilitycode.
| See | For information about the generic elements of the appender syntax, see General Appender Syntax |
syslogd. The syslogd daemon must be running before you can see the output that is sent
to it by UNXFacilityAppender. To enable UNXFacilityAppender to communicate
with syslogd, make sure that you have
an entry in the /etc/syslog.conf file
for the user facility, the local0 through local7 facilities, or insert * before you
start syslogd. You can also have entries
for both the user facility and the local0 through local7 facilities.
* specifies all facilities. Use caution when specifying *. It can cause facilities other than user and local0 through local7 to log to the destination.
syslogd logging facility with the specified syslogd priorities:
syslogd priority is sometimes referred to as level in UNIX documentation for syslogd. When you use syslogd priority as
a value for the SAS logging level, it specifies the severity of the
message. It can also be used to specify the part of the system that
generated the message. The following list contains definitions for
the SAS logging levels that are listed in the table above:
<appender class="UNXFacilityAppender" name="LOG">
<layout>
<param name="ConversionPattern"
value="%d %-5p [%t] %c (%F:%L) - %m"/>
</layout>
</appender>
<root>
<level value="trace"/>
<appender-ref ref="LOG"/>
</root>