NOTE

Tracing and Logging Utilities

strerr

strerr

Receives error messages from the STREAMS log driver.

The strerr daemon receives error messages from the STREAMS log driver (see the man pages for strlog(7)). By default, additions to the STREAMS error log files (error.dd-mm) are in the STREAMS error log directory (/usr/adm/streams).

When first called, strerr creates the log file error.mm-dd. This is a daily log file where mm indicates the month and dd indicates the day of the logged messages. strerr then appends error messages to the log file as they are received from the STREAMS log driver.

strerr should always be used as a background process as it does not return the prompt to the user (the only way to stop it is to kill the process).

Refer to the man pages for strerr(1) for a detailed description of the output format.

Syntax

strerr [-a sys_admin_mail_name] [-d log_directory]

Parameters

-a sys_admin _mail_name

Specifies the name of the user who will receive error message by electronic mail.

-d log_directory

Specifies the directory that will contain the error log file. The default is /usr/adm/streams.

Chapter 7

195