UNXFacilityAppender
is supported on the Solaris, HP, Linux, and AIX operating systems.
The logging facility that these operating systems provide is named
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.
Note: The
*
specifies all facilities. Use caution when specifying
*
. It can cause facilities other than
user
and
local0
through
local7
to log to the destination.
These entries should
have a format of
'<facility>.<priority>
<destination>'
. The following examples show
the formats for entries in the configuration file:
user.info /tmp/userinfo.log
or
*.info /tmp/allinfo.log
For more information
about
syslogd
on the UNIX platform
that you are using, see the documentation written by that provider.