cslogd(1) CLIX cslogd(1)
NAME
cslogd - Runs console logging daemon
SYNOPSIS
/usr/lib/cslogd [log_file]
DESCRIPTION
The cslogd console logging daemon reads all messages that are sent to the
console logging device and writes them to the specified file. Messages
printed by the kernel, applications, and echoed keyboard input are
included. The cslogd daemon is normally invoked at boot time from the
rc2.d file.
The kernel posts console messages to the /dev/cslog file. When a message
is posted, the cslogd daemon reads /dev/cslog and appends the message to
the log file. If the log file does not exist, cslogd creates it. If the
user does not specify a log file, the default filename /usr/tmp/cslog is
used.
EXAMPLES
1. This example starts the console logging daemon with default options:
/etc/init.d/conslog init
2. This example starts the console logging daemon with output going to
the /usr/adm/console file:
/etc/init.d/conslog init /usr/adm/console
After a reboot or shutdown, the cslogd daemon will continue to log
messages to /usr/adm/console.
FILES
/dev/cslog System console log device.
/usr/tmp/cslog Default system console log file.
DIAGNOSTICS
The cslogd daemon fails to run if it is unable to open /dev/cslog, or if
it cannot open or create a console logging file.
EXIT VALUES
2/94 - Intergraph Corporation 1
cslogd(1) CLIX cslogd(1)
The cslogd command exits with a value of 1 when a fatal error occurs.
2 Intergraph Corporation - 2/94