SyslogAppender

The syslog appender writes to a syslogd deamon. The syslogd deamon is the standard logging utility on most UNIX systems. You can use the parameters provided here to configure the SyslogAppender.

Host name IP Address
Specifies the hostname or IP address of the syslog daemon. The default value is 127.0.0.1
Syslog Facility
Specify the facility name to use for logged messages. Available values are:
  • kern
  • user
  • mail
  • daemon
  • auth
  • syslog
  • lpr
  • news
  • cron
  • authpriv
  • ftp
  • local0
  • local1
  • local2
  • local3
  • local4
  • local5
  • local6
  • local7
The default value is local7.
Print Facility String
Check if the facility should be printed. By default, this is checked.
Layout
Select a Layout for the Appender. Available values are:
  • Pattern (the default)
  • Simple
  • HTML
  • XML
Pattern
Specifies the substitution mask that defines log formatting. Only used when Layout is Pattern. You can select from the following pre-defined patterns, or specify your own:
  • %d{ISO8601} %-5p [%c] - %m%n (the default)
  • %d{HH:mm:ss} %p [%t] - %m%n
  • %p [%t] %c %d{HH:mm:ss,SSS} - %m%n