Customizing an InfoPrint Manager server error log
- Find the spl_error.cfg file in the /usr/lpp/pd/bin directory and copy it into the /var/pd or %PDBASE% directory:
cp /usr/lpp/pd/bin/spl_error.cfg /var/pd/spl_error.cfgNote: If you already customize your server error logs, remember to change the name or move the current spl_error.cfg file in /var/pd so that your customization values can be copied over into the newer version of the file.
- Open the copy of the spl_error.cfg file that you created and specify the settings for the log attributes that you want.
For example, you can modify the log-backup-number attribute, which allows you to specify the number of backup logs that InfoPrint saves, including the initial error.log.BAK file.
Sample spl_error.cfg file provided by InfoPrint Manager
# # ErrorLog Configuration File # # Log size (units = KBytes) log-size = 1024 # Wrap On? log-wrap = true # Severity? log-severity = debug # Number of backup log files log-backup-number = 10
When you start the InfoPrint Manager server after a shut down, it backs up the first error log by creating an error.log.BAK file. With each successive restart, it creates an additional .BAK file, adding a timestamp as a fourth qualifier. By default, the log-backup-number attribute specifies a value of 10, meaning that you can have nine back up files with timestamps and the initial .BAK file. You can reduce this number as low as
1or increase it as high as
For a complete list of the error log attributes that you can customize, see the "Attributes for logs" section in "InfoPrint object attributes" chapter of InfoPrint Manager: Reference.
- Once you have finished defining your options, save and close the /var/pd/spl_error.cfg file.
- To shut down the InfoPrint Manager server so that these customization changes can
take effect, specify from the Linux command line:
pdshutdown -w now servername.Note: If you do not need the customization change to take effect immediately, you can skip the final two steps and just wait until the next time theLinux system where the InfoPrint Manager server is installed on is restarted.
- To restart the server, enter
start_server -F servernamewhere
servernameis the name of your InfoPrint Manager server.