Hitachi

JP1 Version 12 JP1/Performance Management - Remote Monitor for Platform Description, User's Guide and Reference


J.2 Storage format of action logs

This subsection describes the storage format of the action log file.

Action log information is output to the default file (current output file). When that file becomes full, new action log information is saved in a different 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, new operation logs are output to a shift file.

    The shift file name is the current output file name to which a number is appended. Each time the current output file becomes full, the 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, the existing shift file jpcaudit1.log is renamed to jpcaudit2.log and the contents of the current output file are moved to jpcaudit1.log.

    When the number of log files reaches its maximum value (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.

The jpccomm.ini file is used to specify information about whether action logs are to be output, the output destination, and the maximum number of storage files. For details about how to set the jpccomm.ini file, see J.4 Action log output settings.