Hitachi

JP1 Version 12 JP1/Client Process Automation Messages


A.2 Product log

The product log contains messages generated from CPA and CPA Option for AJS3.

Organization of this subsection

(1) Output destination

The following table describes the location and size of the product log file to which processes and commands write entries.

Table A‒2: Location and size of the product log file

No.

Source process or command

Default output destination or file

Default size#2 (Unit: KB)

1

cpaservice

data-path\log\msg.log{.n}#1

By default, the log file is located in the following:

%ProgramData%\HITACHI\jp1\jp1_default\JP1CPA\log\msg.log{.n}#1

512

2

cpamanager

3

cpaplayer

4

cpajobentry

5

cpajobdelete

6

cpajobstop

7

cpareport

8

cpapasswd

9

cpasetprof

10

cpajobrun

11

cpaiescscm

12

cpaiescsvr

13

cpaalsetup

14

cpasetumap

15

cpaeventmon

16

cpaalexec

#1

A serial number {.n} is added to every backup log file. The default number of backup log files is 1.

The number of backup files is configurable. To configure the number, edit the system settings definition file to change the logfile_num value. For details, see the manual JP1/Client Process Automation Configuration and Administration Guide.

#2

The size of the log file is configurable. To configure the size, edit the system settings definition file to change the logfile_size value. For details, see the manual JP1/Client Process Automation Configuration and Administration Guide.

(2) Output format

A product log entry is formatted as follows:

created-date-and-time process-name process-ID thread-ID message-ID message-text

The following table describes each output item.

Table A‒3: Output items in the product log

No.

Output item

Output format

Size (Unit: bytes)

Description

1

created-date-and-time

YYYY/MM/DD hh:mm:ss.sss

23

The date and time when the log entry was created.

The created date and time is based on the time zone of the operating system.

2

process-name

Alphanumeric characters

16

The name of the process or command that created the log entry.

This field is padded with spaces up to its length (16 bytes) when the length of the process name or command name is less than 16 bytes.

3

process-ID

Hexadecimal number

8

The process ID of the source of the log entry

4

thread-ID

Hexadecimal number

8

The thread ID of the source of the log entry

5

message-ID

Alphanumeric characters

16

Message ID.

This field is padded with spaces up to its length (16 bytes) when the length of the message ID is less than 16 bytes.

6

message-text

Character string

1 to 1,023

Message text

(3) Encoding

The product log file is encoded in the character set specified in the operating system.