LocalSyslogAppender SyslogFacility Enumeration | Apache log4net™ SDK Documentation

syslog facilities

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public enum SyslogFacility

    Public Enumeration SyslogFacility

    public enum class SyslogFacility

    type SyslogFacility

Members

| Member name | Value | Description
--- | --- | --- | ---
| Kernel | 0 | kernel messages
| User | 1 | random user-level messages
| Mail | 2 | mail system
| Daemons | 3 | system daemons
| Authorization | 4 | security/authorization messages
| Syslog | 5 | messages generated internally by syslogd
| Printer | 6 | line printer subsystem
| News | 7 | network news subsystem
| Uucp | 8 | UUCP subsystem
| Clock | 9 | clock (cron/at) daemon
| Authorization2 | 10 | security/authorization messages (private)
| Ftp | 11 | ftp daemon
| Ntp | 12 | NTP subsystem
| Audit | 13 | log audit
| Alert | 14 | log alert
| Clock2 | 15 | clock daemon
| Local0 | 16 | reserved for local use
| Local1 | 17 | reserved for local use
| Local2 | 18 | reserved for local use
| Local3 | 19 | reserved for local use
| Local4 | 20 | reserved for local use
| Local5 | 21 | reserved for local use
| Local6 | 22 | reserved for local use
| Local7 | 23 | reserved for local use

Remarks

The syslog facility defines which subsystem the logging comes from. This is set on the Facility property.

See Also

#### Reference

log4net.Appender Namespace