Customizing an InfoPrint Manager server error log

By default, the InfoPrint Manager server error log starts when the InfoPrint Manager server starts. Use this procedure to customize the InfoPrint Manager server error log.
  1. Find the spl_error.cfg file in the bin directory that is under the directory where InfoPrint Manager is installed (the default is C:\Program Files\RICOH\Infoprint Manager).
  2. Copy the spl_error.cfg file into the workspace_path directory.
    The workspace_path is specified on the Workspace path field. From the InfoPrint Manager Management Console, click EditService Configuration path to verify the setting of the Workspace path field. For these examples, workspace_path signifies the fully qualified path where the error log is in, such as C:\ProgramData\RICOH\Infoprint Manager\var\pd.
    Note: If you already customize your server error logs, remember to change the name or move the current spl_error.cfg file in workspace_path so that your customization values can be copied over into the newer version of the file.
  3. Open a copy of the spl_error.cfg file in the workspace_path directory and edit it to specify the settings for the log attributes that you want (as shown in Sample spl_error.cfg file provided by InfoPrint Manager).
    For example, you can modify the log-backup-number attribute, which lets you specify the number of backup logs that InfoPrint saves, including the initial error.log.BAK file. Before this attribute was added to the product, an unlimited number of logs were saved.

    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 InfoPrint Manager: Reference "Attributes for logs" topic in "Chapter 3. InfoPrint object attributes."

  4. Once you have finished defining your options, save and close the file.
    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 the InfoPrint Manager server is restarted.
  5. To shut down the server from the Management Console, specify FileStop server.
    Important: To start and stop the server, run the InfoPrint Manager Management Console interface using the "Run as Administrator" command.
  6. To restart the server from the Management Console, specify FileStart server.