Hitachi

JP1 Version 12 JP1/Base User's Guide


K.2 Storage format of operation log output

Operation log information is output to the operation log file (base_log.log). This log file is a sequential file. When the log file reaches a certain size, it is renamed, and then saved. A new log file is created with the same name as the original, and new log information is written to this file. Specifically, when the file reaches a certain size, the base_log.log file is renamed to base_log1.log, and then saved. After the old file is saved, a new base_log.log file is created to accept log information. When the new base_log.log file reaches a certain size, the saved base_log1.log is renamed to base_log2.log, and the current base_log.log is renamed to base_log1.log.

In this way, each time a new log file is created, the number at the end of the old file name is incremented by 1. Thus, the file with the higher number is the older file. When the number of saved files exceeds a certain number, the oldest log file is deleted.

Each time the log file is changed, the output destination, and the number of log files to be saved, can be changed in the operation log definition file (jp1bs_baselog_setup.conf). The initial size of the log file is 1,024 kilobytes. The initial number of log files that can be saved is four. For details on the range of specifiable values, see K.5 Settings for outputting operation logs.