Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


User log definition file (jp1itemcount.conf)

Organization of this page

Description

This file defines the size of the log file, the number of log files, and whether to output the execution result of the jssitemcount command to a log file open to users (jssitemcount_infonumber.log). By default, the execution result of the jssitemcount command is defined to be output to a log file open to users.

Format

;comments
[LOG]
ITEMCOUNT_LOG=output-or-not-output-log-files
ITEMCOUNT_FILESIZE=size-of-the-log-file
ITEMCOUNT_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 jssitemcount 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‒80: List of specification keys that can be set in the user log definition file

Specification key name

Description

Default value

ITEMCOUNT_LOG

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

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

Specify Y (output log files) or N (not output log files).

Y

ITEMCOUNT_FILESIZE

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

Specify a half-width integer from 4 to 16384.

8192

ITEMCOUNT_FILENUM

Specifies the number of log files (jssitemcount_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]
ITEMCOUNT_LOG=Y
ITEMCOUNT_FILESIZE=10240
ITEMCOUNT_FILENUM=10