syslogd

log system messages

Syntax:

syslogd  [-f config_file] [-m mark_interval]

Options:

-f config_file
Specify the pathname of an alternate configuration file (the default is /etc/syslog.conf).
-m mark_interval
Select the number of minutes between “mark” messages (the default is 20 minutes).

Description:

The syslogd utility reads and logs messages to the system console, log files, other machines and/or users as specified by its configuration file.

The utility reads its configuration file when it starts up and whenever it receives a hangup signal. For information on the format of the configuration file, see syslog.conf in the Files chapter.

The utility reads messages from an Internet domain socket specified in /etc/services and receives messages — via Receive() — from QNX native processes.

The name qnx/syslog is registered locally so that only local processes can find it (the syslog() function won't do a network-wide search).

To force processes to use a remote syslogd, the SYSLOG environment variable may be set to the desired node number.

The message sent to syslogd should consist of a single line. The message can contain a priority code, which should be a preceding decimal number in angle braces. For example:

<5>

This priority code should map into the priorities defined in the include file sys/syslog.h.

Files:

/etc/syslog.conf
The configuration file.

Environment variables:

SYSLOG
used by clients to specify which node to look for syslogd.

See also:

logger, syslog(), services and syslog.conf files