Hitachi

JP1 Version 12 JP1/Performance Management - Agent Option for Enterprise Applications Description, User's Guide and Reference


J.2 Format for saving the action log files

This subsection describes the format for saving the action log files.

Action logs are output to the default file (current output file). When this file becomes full, the action logs in the current output file are saved to a separate file (shift file).

To swap action log files:

  1. Action logs are output sequentially to the current output file jpcaudit.log.

  2. When the current output file becomes full, the action logs in that file are saved to a shift file.

    The shift file name is the current output file name with a number appended to it. Each time the current output file becomes full, each shift file is renamed to file-name-number + 1. Therefore, an older file has a larger number at the end of the file name.

    Example:

    When the current output file jpcaudit.log becomes full, its contents are saved to the shift file jpcaudit1.log.

    When the current output file becomes full again, its contents are moved to jpcaudit1.log and the existing shift file is renamed to jpcaudit2.log.

    When the number of log files reaches the maximum value (as specified in the jpccomm.ini file), the oldest log file is deleted.

  3. The current output file is initialized and new action logs are written.

Whether action logs are to be output, their output destination, and the maximum number of storage files is specified in the jpccomm.ini file. For details about making the settings in the jpccomm.ini file, see J.4 Settings for outputting action log data.