|
The syslog target constructs a log target for a syslog.
<target id="syslog"
artifact="avalon-logging/avalon-logkit-syslog#1.0-SNAPSHOT">
<address hostname="localhost" port="514" facility="USER"/>
<format type="avalon"/>
</target>
Nested Element
|
Description
|
address
|
The address element holds three attributes - hostname, port
and facility. The hostname is the host to which syslog events shall
be directed. The port identifies the port on the host machine. The
facility attribute is a keyword described in the Facility Keys Table.
|
format
|
A standard
formatter
statement.
|
Keyword
|
Description
|
kern
|
kernel messages
|
user
|
generic user-level messages (default)
|
mail
|
mail subsystem
|
daemon
|
other system daemons
|
auth
|
security/authorization messages (DEPRECATED Use
LOG_AUTHPRIV instead)
|
syslog
|
messages generated internally by syslogd
|
lpr
|
line printer subsystem
|
news
|
USENET news subsystem
|
uucp
|
UUCP subsystem
|
cron
|
clock daemon (cron and at)
|
authpriv
|
security/authorization messages (private)
|
ftp
|
|
local0
|
reserved for local use
|
local1
|
reserved for local use
|
local2
|
reserved for local use
|
local3
|
reserved for local use
|
local4
|
reserved for local use
|
local5
|
reserved for local use
|
local6
|
reserved for local use
|
local7
|
reserved for local use
|
|