Customizing an InfoPrint Manager server error log

By default, the InfoPrint Manager server error log starts when the InfoPrint Manager server starts. Use the following procedure to customize the InfoPrint Manager server error log(s). Any InfoPrint Manager server processes that are running on this Linux server are changed by this customization the next time they are started.
  1. 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.cfg
    Note: 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.
  2. 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 1 or increase it as high as 999.

    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.

  3. Once you have finished defining your options, save and close the /var/pd/spl_error.cfg file.
  4. 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.
  5. To restart the server, enter start_server -F servername where servername is the name of your InfoPrint Manager server.