6.3.1 Details of log files

Stream Data Platform - AF outputs the following log files:

#
This is a serial number for the log file. If there are 16 files, the value that is set will be in the range of 1 to 16.

Note that all messages output to these files are issued by the SDP server. These files do not contain messages issued by commands or adaptors.

Organization of this subsection
(1) Overview of log files
(2) Output format of log files
(3) Messages that are output to the standard output
(4) Error during log file processing

(1) Overview of log files

The table below provides size values for the log files as well as describing the timing of switching output files.

ItemDescription
File sizeThe file size is specified in the log file output property file (logger.properties). When a file's size is approaching the maximum value, the specified size might be exceeded depending on the size of the next message that is output.
Timing of switching output filesFile switching occurs when the size of the current file exceeds the specified value. You can change the number of output files in the log file output property file (logger.properties).
File size during switchingWhen file switching occurs, the size of the target file is set to 0 (all rows deleted).
Operation during file switchingWhen file switching occurs, all rows are deleted so that data can be output starting from the beginning of the file.
Selection of output file during process restartDuring a process restart, data is added to the file with the most recent timestamp.

For details about the log file output property file, see 8.10 Log file output property file (logger.properties).

(2) Output format of log files

This subsection describes the output format of log files. A log file is output in the following format:

number date time application-name pid tid message-ID message-type message-text

Legend:
number: Serial number (4 digits) in the trace record
date: Trace collection date (yyyy/mm/dd)
time: Trace collection time (hh:mm:ss.sss)
application-name: SDPServer vvrrss
(vvrrss indicates the version number, revision number, and a special code)
pid: Process ID
tid: Thread identifier
message-ID: KFSPnnnnn-x
message-type: One of the following values is displayed:
EC: Exception occurred
ER: Error message
No value: Other than EC or ER
message-text: Message that corresponds to the message ID

For details about the messages, see the manual uCosminexus Stream Data Platform - Application Framework Messages.

The following shows an example of output to a log file:

0000 2010/10/15 18:46:07.723     SDPServer 0100    01642BD6 0179F36B KFSP81002-I  The server has started.
0001 2010/10/15 18:46:21.614     SDPServer 0100    01642BD6 0179F36B KFSP81003-I  The server will stop now.
0002 2010/10/15 18:46:21.630     SDPServer 0100    01642BD6 0179F36B KFSP81004-I  The server has stopped.

(3) Messages that are output to the standard output

Messages related to startup and termination of the SDP server and adaptors are output to the standard output (or the standard error output). Some of those messages are also output to the log files.

Note that the following messages, which are output before initialization of log file output processing, are all output to the standard output or the standard error output:

Some messages output to the standard output or the standard error output are also output to a log file. The tables below show whether or not messages related to startup and termination of the SDP server and adaptors are also output to a log file. For details about the messages, see the manual uCosminexus Stream Data Platform - Application Framework Messages.

Table 6-4 Whether or not messages output to the standard output are also output to a log file (messages related to startup and termination of SDP server)

No.Message IDWhether output to log file
1KFSP41001-EN
2KFSP41002-EN
3KFSP41003-EN
4KFSP51001-WY
5KFSP51002-WY
6KFSP51003-WY
7KFSP51004-EY
8KFSP61004-EY
9KFSP61005-EY#
10KFSP61006-EN
11KFSP61007-EY
12KFSP61008-EN
13KFSP61009-EN
14KFSP62000-EY
15KFSP81001-IN
16KFSP81002-IY
17KFSP81003-IY
18KFSP81004-IY
19KFSP81005-IY
20KFSP81006-IY
Legend:
Y: Output to log file
N: Not output to log file
#
If logs have not been initialized, this message is output only to the standard output or the standard error output.

Table 6-5 Whether or not messages output to the standard output are also output to a log file (messages related to startup and termination of adaptors)

No.Message IDWhether output to log file
1KFSP46002-WN
2KFSP46101-EN
3KFSP46115-EN
4KFSP56003-EN
5KFSP56004-IN
6KFSP56101-EN
7KFSP86001-IY
8KFSP86002-IY
9KFSP86003-IY
10KFSP86004-IY
11KFSP86005-IY
12KFSP86006-IY
13KFSP86007-IY
14KFSP86008-IY
15KFSP86009-IY
16KFSP86011-IY
17KFSP86018-EY
18KFSP86019-IY
19KFSP86020-IY
20KFSP86022-EN
21KFSP86101-IN
22KFSP86102-IN
Legend:
Y: Output to log file
N: Not output to log file

(4) Error during log file processing

If an error occurs during log file initialization processing, an error message is output. If an error occurs during message output processing, the log file output destination is changed to the standard output or the standard error output and then the message is output.

In such a case, the SDP server is shut down based on the default settings.