Hitachi

JP1 Version 12 for UNIX Systems JP1/Performance Management - Agent Option for Platform Description, User's Guide and Reference


J.2 Format for saving the action log files

This section explains the format for saving the action log files.

Action log data is output to a specified file (the current output file). When the current output file becomes full, the action log data in that file is saved to another file (the shift file). The procedure for switching the file for storing action log data is as follows:

  1. Action log data is output sequentially to the current output file jpcaudit.log.

  2. When the current output file becomes full, the action log data is saved in a shift file.

    Shift files are named by suffixing a number to the name of the current output file. Each time the current output file becomes full, each shift file is renamed by incrementing its suffix by 1. Therefore, the file whose name has the largest number is the oldest log file.

    Example:

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

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

    Note that when the number of log files exceeds the number of saved log files (specified in the jpccomm.ini file), the oldest log file is deleted.

  3. The current output file is initialized, and new action log data is written.

Whether action log data is to be output, the output destination, and the number of output files are specified in the jpccomm.ini file. For details about how to specify the jpccomm.ini file, see J.4 Settings for outputting action log data.