syslog

addr

required:    false
scopable:    true
default:     The ipaddr resolved for the nodename.

Example:

addr = 1.2.3.4

The addr to use to connect a peer. Use scoping to define each non-default address.

facility

required:    false
scopable:    false
default:     daemon

The syslog facility to log to.

host

required:    false
scopable:    false
default:     `localhost` if port is set.

The syslog server host to send logs to.

If neither host nor port are specified and if /dev/log exists, the messages are posted to /dev/log.

level

required:    false
scopable:    false
candidates:  critical, error, warning, info, debug
default:     info

The minimum message criticity to feed to syslog.

Setting to critical actually disables the syslog logging, as the agent does not emit messages at this level.

port

required:    false
scopable:    false
default:     514

The syslog server port to send logs to.

If neither host nor port are specified and if /dev/log exists, the messages are posted to /dev/log.