Stream Data Platform - AF outputs the following log files:
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.
The table below provides size values for the log files as well as describing the timing of switching output files.
Item | Description |
---|---|
File size | The 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 files | File 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 switching | When file switching occurs, the size of the target file is set to 0 (all rows deleted). |
Operation during file switching | When 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 restart | During 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).
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 |
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. |
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 ID | Whether output to log file |
---|---|---|
1 | KFSP41001-E | N |
2 | KFSP41002-E | N |
3 | KFSP41003-E | N |
4 | KFSP51001-W | Y |
5 | KFSP51002-W | Y |
6 | KFSP51003-W | Y |
7 | KFSP51004-E | Y |
8 | KFSP61004-E | Y |
9 | KFSP61005-E | Y# |
10 | KFSP61006-E | N |
11 | KFSP61007-E | Y |
12 | KFSP61008-E | N |
13 | KFSP61009-E | N |
14 | KFSP62000-E | Y |
15 | KFSP81001-I | N |
16 | KFSP81002-I | Y |
17 | KFSP81003-I | Y |
18 | KFSP81004-I | Y |
19 | KFSP81005-I | Y |
20 | KFSP81006-I | Y |
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 ID | Whether output to log file |
---|---|---|
1 | KFSP46002-W | N |
2 | KFSP46101-E | N |
3 | KFSP46115-E | N |
4 | KFSP56003-E | N |
5 | KFSP56004-I | N |
6 | KFSP56101-E | N |
7 | KFSP86001-I | Y |
8 | KFSP86002-I | Y |
9 | KFSP86003-I | Y |
10 | KFSP86004-I | Y |
11 | KFSP86005-I | Y |
12 | KFSP86006-I | Y |
13 | KFSP86007-I | Y |
14 | KFSP86008-I | Y |
15 | KFSP86009-I | Y |
16 | KFSP86011-I | Y |
17 | KFSP86018-E | Y |
18 | KFSP86019-I | Y |
19 | KFSP86020-I | Y |
20 | KFSP86022-E | N |
21 | KFSP86101-I | N |
22 | KFSP86102-I | N |
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.