13.9.1 Format of log entries
JP1/AO outputs log information in the following format:
The following table lists and describes the contents of log information output by JP1/AO.
No. |
Item |
Description |
Length |
---|---|---|---|
1 |
Serial number |
The serial number of the message. |
4 bytes |
2 |
Date |
The date on which the message was output (in the format yyyy/mm/dd). |
10 bytes |
3 |
Time |
The time at which the message was output (in the format hh:mm:ss:xxx, where xxx indicates milliseconds). |
12 bytes |
4 |
rsvd |
A reserved space. |
4 bytes |
5 |
Program name |
The name of the program. If the program name is longer than 16 characters, an abbreviated but recognizable form of the product name is used. |
16 bytes |
6 |
pid |
In the integrated trace log, this item indicates the process ID assigned by the OS. In log entries output by JP1/AO-specific products, pid indicates the hash value assigned by the JavaVM to the Runtime instance. |
8 bytes |
7 |
tid |
In the integrated trace log, this item contains a value derived from the thread name. In log entries output by JP1/AO-specific products, tid indicates the hash value assigned by the JavaVM to the Thread instance. |
8 bytes |
8 |
ID |
A message ID including a prefix that identifies the product. |
16 bytes |
9 |
Event type |
The type of event for which the log entry was output. |
4 bytes |
10 |
Message text |
The text of the message. |
4,095 bytes or less |
11 |
Linefeed code |
CRLF:0x0D, 0x0A |
4 bytes |