21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Each entry in the /etc/syslog.conf file must consist of two parts:<br />

► A selector field to determine the message priorities to which the line applies<br />

► An action<br />

Each line can contain an optional part:<br />

► Rotation<br />

The fields must be separated by one or more tabs or spaces.<br />

The selector field names a facility and a priority level. Separate facility names<br />

with a comma. Separate the facility and priority-level portions of the selector field<br />

with a period. Separate multiple entries in the same selector field with a<br />

semicolon (;). To select all facilities, use an asterisk (*).<br />

The Action field identifies a destination (file, host, or user) to receive the<br />

messages. If routed to a remote host, the remote system will handle the<br />

message as indicated in its own configuration file. To display messages on a<br />

user's terminal, the Destination field must contain the name of a valid, logged-in<br />

system user.<br />

The Rotation field identifies how rotation is used. If the Action field is a file, then<br />

rotation can be based on size or time, or both. You can also compress and<br />

archive the rotated files.<br />

Each message is one line. A message can contain a priority code, marked by a<br />

digit enclosed in angle braces (< >) at the beginning of the line. Messages longer<br />

than 900 bytes may be truncated.<br />

Use the following system facility names in the Selector field:<br />

kern Kernel<br />

user User level<br />

mail Mail subsystem<br />

daemon System daemons<br />

auth Security or authorization<br />

syslog syslogd daemon<br />

lpr Line-printer subsystem<br />

news News subsystem<br />

uucp uucp subsystem<br />

* All facilities<br />

Chapter 6. Error reports 131

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!