A.3 Report log
The report log contains historical information that is used as input for the list command cpareport to display the history of executed jobs. For details on the list command, see the manual JP1/Client Process Automation Configuration and Administration Guide.
- Organization of this subsection
(1) Output destination
The report log is shared by all processes and commands in the installation of the service. If one or more messages fail to be written to the report log file, the failure is logged in the product log only once.
The following table describes the location and size of the report log file.
No. |
Source process or command |
Default output destination or file |
Default size (Unit: KB) |
---|---|---|---|
1 |
cpaservice |
data-path\log\report.log{.n}# By default, the log file is located in the following: %ProgramData%\HITACHI\jp1\jp1_default\JP1CPA\log\report.log{.n}# |
256 |
2 |
cpamanager |
||
3 |
cpaplayer |
||
4 |
cpajobentry |
||
5 |
cpajobstop |
||
6 |
cpajobdelete |
||
7 |
cpareport |
||
8 |
cpapasswd |
||
9 |
cpasetprof |
||
10 |
cpaactlist |
||
11 |
cpaactexec |
||
12 |
cpaguiexec |
||
13 |
cpalink |
||
14 |
cpasetumap |
||
15 |
cpaalsetup |
||
16 |
cpaalexec |
||
17 |
cpaeventmon |
||
18 |
cpausrenvsetup |
||
19 |
cpaitemsetup |
- #
-
The log file is rotated and the backup file has a serial number {.n} on the name. The report log is shared by all processes and commands and the number of backup files is set to 1. For the report log, the number of backup files is not configurable.
(2) Output format
A report log entry is formatted as follows:
entry-ID,created-date-and-time,process-name,message-key,event-type,event-result,additional-information |
The following table describes each output item.
No. |
Output item |
Output format |
Size (Unit: bytes) |
Description |
---|---|---|---|---|
1 |
entry-ID |
Alphanumeric characters |
4 |
An ID that indicates the category of the entry. This category is used by the list command cpareport to summarize logged data. |
2 |
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. |
3 |
process-name |
Alphanumeric characters |
1 to 20 |
The name of the process or command that created the log entry. |
4 |
message-key |
Alphabetical characters |
1 to 4 |
A message key that indicates what event occurred. |
5 |
event-type |
Start, Stop, and Other |
4 to 5 |
Start: Start Stop: Stop Other: Occur |
6 |
event-result |
Succeeded, Failed, and Other |
0 to 8 |
Succeeded: Success Failed: Failure Other: An empty string (zero-byte string) |
7 |
additional-information |
Alphanumeric characters |
0 to 100 |
Additional details |
(3) Log entries
The following table describes what kinds of entries to be written into the report log file.
Log entry type |
Log entry name |
Associated message ID |
Command name |
Note |
---|---|---|---|---|
S001 |
Service start |
KNAO0003-I |
-- |
-- |
S002 |
Service end |
KNAO0002-I |
-- |
-- |
S004 |
Service start failed |
KNAO0004-E |
-- |
-- |
S005 |
Process start |
KNAO0011-I |
-- |
-- |
S006 |
Process stop |
KNAO0012-I |
-- |
-- |
N000 |
Next schedule created/updated |
-- |
cpajobentry |
When a job executed on time is defined and the Register button is clicked |
N001 |
Job start |
KNAO0300-I |
-- |
-- |
N002 |
Job ended normally |
KNAO0302-I |
-- |
-- |
N003 |
Job ended with warning |
KNAO0326-W |
-- |
-- |
N004 |
Job ended abnormally |
KNAO0327-E |
-- |
-- |
N005 |
Job stopped forcibly |
KNAO0303-I |
-- |
-- |
N006 |
Job cancellation |
KNAO0307-I |
-- |
-- |
N010 |
Job start failed |
KNAO0301-E |
-- |
-- |
N011 |
Job schedule not run |
KNAO0200-E |
-- |
-- |
C001 |
Command start |
KNAO2000-I |
cpajobdesign |
-- |
cpajobentry |
-- |
|||
cpajobdelete |
-- |
|||
cpajobstop |
-- |
|||
cpajobrun |
-- |
|||
cpasetprof |
-- |
|||
cpaactlist |
Command execution by list |
|||
cpaactexec |
Command execution with recovery option |
|||
cpaguiexec |
Command execution in window |
|||
cpalink |
Monitor the linkage from JP1AJS3 |
|||
cpasetumap |
-- |
|||
cpaalsetup |
-- |
|||
cpaalexec |
Windows log on |
|||
cpaeventmon |
Monitor Windows event |
|||
cpauserenvsetup |
-- |
|||
cpaitemsetup |
-- |
|||
C002 |
Command ended normally |
KNAO2001-I |
cpajobdesign |
-- |
cpajobentry |
-- |
|||
cpajobdelete |
-- |
|||
cpajobstop |
-- |
|||
cpajobrun |
-- |
|||
cpasetprof |
-- |
|||
cpaactlist |
Command execution by list |
|||
cpaactexec |
Command execution with recovery option |
|||
cpaguiexec |
Command execution in window |
|||
cpalink |
Monitor the linkage from JP1AJS3 |
|||
cpasetumap |
-- |
|||
cpaalsetup |
-- |
|||
cpaalexec |
Windows log on |
|||
cpaeventmon |
Monitor Windows event |
|||
cpauserenvsetup |
-- |
|||
cpaitemsetup |
-- |
|||
C003 |
Command ended abnormally |
KNAO2002-E |
cpajobdesign |
-- |
cpajobentry |
-- |
|||
cpajobdelete |
-- |
|||
cpajobstop |
-- |
|||
cpajobrun |
-- |
|||
cpasetprof |
-- |
|||
cpaactlist |
Command execution by list |
|||
cpaactexec |
Command execution with recovery option |
|||
cpaguiexec |
Command execution in window |
|||
cpalink |
Monitor the linkage from JP1AJS3 |
|||
cpasetumap |
-- |
|||
cpaalsetup |
-- |
|||
cpaalexec |
Windows log on |
|||
cpaeventmon |
Monitor Windows event |
|||
cpauserenvsetup |
-- |
|||
cpaitemsetup |
-- |
|||
A000 |
Action execution request received |
-- |
-- |
-- |
A001 |
Action execution request succeeded |
KNAO0328-I |
-- |
-- |
A002 |
Action ended normally |
KNAO0329-I |
-- |
-- |
A002 |
Action ended normally (not run) |
KNAO0329-I |
-- |
-- |
A002 |
Action condition not satisfied |
KNAO0332-W |
-- |
-- |
A003 |
Action ended with warning |
KNAO0330-W |
-- |
-- |
A004 |
Action ended abnormally |
KNAO0331-E |
-- |
-- |
A005 |
Action stopped forcibly |
KNAO0338-E |
-- |
-- |
A010 |
Action execution request failed |
KNAO0319-E |
-- |
-- |
A011 |
Action execution start |
-- |
-- |
-- |
F000 |
Action flow start waiting |
-- |
-- |
-- |
F001 |
Action flow execution request succeeded |
KNAO0348-I |
-- |
-- |
F002 |
Action flow ended normally |
KNAO0343-I |
-- |
-- |
F002 |
Action flow ended normally (not run) |
KNAO0329-I |
-- |
-- |
F002 |
Action flow condition not satisfied |
KNAO0344-W |
-- |
-- |
F003 |
Action flow ended with warning |
KNAO0345-W |
-- |
-- |
F004 |
Action flow ended abnormally |
KNAO0347-E |
-- |
-- |
F005 |
Action flow stopped forcibly |
KNAO0346-E |
-- |
-- |
E001 |
Event monitoring start |
KNAO0400-I |
-- |
-- |
E002 |
Event monitoring end |
KNAO0402-I |
-- |
-- |
E010 |
Event monitoring failed |
KNAO0401-E |
-- |
-- |
O990 |
Failed to write to the product log |
KNAO0990-E |
-- |
-- |
- Legend:
-
-- : Not applicable
(4) Encoding
The report log file is encoded in UTF-8.