The /etc/syslog.conf file configures the level of information that the storage system records. It specifies the subsystem from which the message originated, the severity of the message, and where the message is sent.
The /etc/syslog.conf file consists of lines with two tab-separated (not space-separated) fields of the following form: facility.level action
Keyword | Description |
---|---|
auth | Messages from the authentication system, such as login |
cron | Messages from the internal cron facility |
daemon | Messages from storage system daemons, such as rshd |
kern | Messages from the storage system kernel |
* | Messages from all facilities |
Level | Description |
---|---|
emerg | Panic condition that causes a disruption of normal service |
alert | Condition that you should correct immediately, such as a failed disk |
crit | Critical conditions, such as disk errors |
err | Errors, such as those caused by a bad configuration file |
warning | Conditions that might become errors if not corrected |
notice | Conditions that are not errors, but might require special handling |
info | Information, such as the hourly uptime message |
debug | Used for diagnostic purposes |
* | All levels of errors |
Action | Example |
---|---|
Send messages to a file specified by a path. | /etc/messages |
Send messages to a host name preceded by an @ sign. | @adminhost |
Send messages to the console. | /dev/console or * |
For more information about the syslog.conf file, see the na_syslog.conf(5) man page.