[Contents] [Prev] [Next] [Index] [Report an Error]

Logging PGCPD Messages

The PGCPD program produces syslog messages for many of its functions. You can configure selection criteria for saving PGCPD messages in a log trace file.

All log trace files are placed in the /var/log directory. When a trace file reaches its maximum size, a .0 is appended to the file name, then a new file is created with a .1 appended, and so on. When the maximum number of trace files is reached, the oldest trace file is overwritten.

Step-by-Step Procedure

To configure logging of PGCPD syslog messages:

  1. Access the system syslog configuration.
    [edit]
    user@host# edit system syslog
    [edit system syslog]
  2. Configure the file parameters. In the example, the file is named myfile and all messages with a severity equal to or greater than error.
    user@host# set file myfile error
  3. Configure the match parameter to select pgcpd syslog messages.
    user@host# set match pgcpd
  4. (Optional) To direct output to one or more user consoles, configure the user parameter.
    user@host# set user testuser

Related Topics

For more information on the options available when configuring system log messages, refer to:


[Contents] [Prev] [Next] [Index] [Report an Error]