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:
- [edit]
- user@host# edit system syslog
- [edit system syslog]
- user@host# set file myfile error
- user@host# set match pgcpd
- user@host# set user testuser
For more information on the options available when configuring system log messages, refer to: