Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


User log definition file (jp1itemstoredbrotate.conf)

Organization of this page

Description

This file defines whether to output the execution result of the jssitemstoredbrotate command to a log file open to users (jssitemstoredbrotate_infonumber.log), the size of the log file, and the number of log files.

Format

;comments
[LOG]
ITEMSTOREDBROTATE_LOG=output-or-not-output-log-files
ITEMSTOREDBROTATE_FILESIZE=size-of-the-log-file
ITEMSTOREDBROTATE_FILENUM=number-of-log-files

Lines starting with a semi-colon (;) are treated as comments.

File names

Storage folder

JP1/SS-path\conf\command\

When the definition is applied

When you execute the jssitemstoredbrotate command, the definition is applied.

What is described

You can edit the specification keys explained in the table below. Use an equal sign (=) to connect a key and its value.

Table 13‒87: List of specification keys that can be set in the user log definition file

Specification key name

Description

Default value

ITEMSTOREDBROTATE_LOG

Specifies whether to output a log file (jssitemstoredbrotate_infonumber.log). If the setting is invalid, the log file is not output.

Output destination folder: JP1/SS-path\log\public\

You can specify Y (output log files) or N (not output log files).

Y

ITEMSTOREDBROTATE_FILESIZE

Specifies the size of the log file (jssitemstoredbrotate_infonumber.log) in KB.

Specify a half-width integer from 4 to 16384.

8192

ITEMSTOREDBROTATE_FILENUM

Specifies the number of log files (jssitemstoredbrotate_infonumber.log).

Specify a half-width integer from 1 to 64.

2

Message output to a log file

For details about the message output to a log file, see 14.1 Output destinations for messages.

Notes

Definition example

The following definition example changes the setting to outputting log files, the size of the log file to 10 MB (10,240 KB), and the number of files to 10.

[LOG]
ITEMSTOREDBROTATE_LOG=Y
ITEMSTOREDBROTATE_FILESIZE=10240
ITEMSTOREDBROTATE_FILENUM=4