Logging options

Prev Next

The following tables show options for destinations, logging levels, and facility numbers.

Logging destinations

Use host as the logging destination in this procedure.

Destination

Purpose

console

Logging to a system console

file

Logging to a file stored in /var/log/user/

global

Logging to a system standard location

host

Logging to a remote host

user

Logging to a specific user's terminal

Logging levels

The level variable refers to severity level, which can be application-specific.

Level

Purpose

emerg

Emergency messages

alert

Urgent messages

crit

Critical messages

err

Error messages

warning

Warning messages

notice

Messages for investigation (default)

info

Informational messages

debug

Debug messages

Facility numbers

The facility variable refers to the type of program logging the message.

Facility

Purpose

all

All facilities excluding “mark”

auth

Authentication and authorization

authpriv

Non-system authorization

cron

Cron daemon

daemon

System daemons

kern

Kernel

lpr

Line printer spooler

mail

Mail subsystem

mark

Timestamp

news

USENET subsystem

protocols

Routing protocols (local7)

security

Authentication and authorization

syslog

System activity logging

user

Application processes

uucp

UUCP subsystem

local0

Local facility 0

local1

Local facility 1

local2

Local facility 2

local3

Local facility 3

local4

Local facility 4

local5

Local facility 5

local6

Local facility 6