HP Distributed Print Service Administration Guide

368 Chapter12
Using HPDPS Error Logs
Changing Server Error Log Attribute Values
NOTE While the log is disabled, it will not log any messages.
2. Change the log severity setting:
pdset -c log -x "log-severity=debug"
ServerName
:default_error
3. Enable the log:
pdenable -c log
ServerName
:default_error
The server error log attribute log-severity now has a value of debug.
Using this same process you can temporarily change the error log
attribute values of other servers.
Using Configuration Files to Set Attribute Values for
Server Error Logs on Restart
When a server starts up, it looks in the /var/opt/pd directory for either
the spl_error.cfg file or the suv_error.cfg file, depending on
whether the server is a spooler or a supervisor. These two files are
basically attributes files (their format is that used for any HPDPS
attributes file) for the error logs of the servers.
The following example shows the text of the spl_error.cfg file in the
/var/opt/pd directory.
#
# ErrorLog Configuration File
#
# Log size (units = KBytes)
log-size = 1024
# Wrap On?
log-wrap = true
# Severity?
log-severity = audit
To change the error log attribute values of all spoolers, edit the
/var/opt/pd/spl_error.cfg file. To change the error log attribute
values of all supervisors, edit the suv_error.cfg file.
For example, suppose you want to change the spooler error log attribute
values to:
increase the maximum size from one to two megabytes.