Hitachi

JP1 Version 12 JP1/Navigation Platform Setup and Operations Guide


5.4.2 Output destination, number of files, and file size of the operation log

This subsection explains the output destination, the number of files, and the file size of the operation log.

Output destination

The default output destination is as follows:

Navigation-Platform-installation-directory\operationlogs\operationN.log (N: file number)

Number of files

The operation log is a sequential log. The file number begins at 1. When the operation log file reaches a specified size, a new file is created to output the operation log with the file number incremented by 1. If a file with the same name already exists, that file is deleted and a new file is created. If the file number exceeds the maximum value (40 by default), the file number is reset to 1.

The following shows an example:

When operation1.log reaches a specified size, operation2.log is created and new operation log is output to that file. This operation is continued until operation40.log is created. When operation40.log reaches the specified size, operation1.log is deleted. A new operation1.log is then created and the operation log is output to this file.

File size

The default file size is 40,960 KB.

You can change these values in the user property file (ucnp_user.properties).

Properties when settings are changed

If you want to change the output destination, file number, and file size from their default values, change the following property values:

  • Operation log output destination (ucnp.base.server.operationlog.path)

  • Maximum number of files for the operation log (ucnp.base.server.operationlog.backup.number)

  • Maximum size of the operation log file (ucnp.base.server.operationlog.size)

For details about the property values, see 8.5 Specifying settings in the user property file (ucnp_user.properties).

If you have changed the size of the operation log file from its default value

Estimate the size of the operation log file according to 3.4.2 Estimating the size of the operation log file and determine whether the estimated value exceeds the default file size (1.6 GB).

If the estimated value is greater than the default file size, evaluate the property settings so that the number of operation log files and file size satisfy the following condition:

Operation log file size required for the environment being set up (value obtained from the estimation in 3.4.2 Estimating the size of the operation log file) ≤ number of files × file size