1.2 Message output format
HADB outputs messages in the following format.
KFAAnnnnn-Y message-text |
KFAAnnnnn: This is the HADB message ID.
Y: Message type (explained below.)
Message type |
Definition |
---|---|
E |
Indicates an error message. These messages are output when HADB processing does not execute correctly. They are also output when processing cannot be executed because there are errors in the specifications of environment settings, definitions, or commands. |
W |
Indicates a warning message. Outputs the status of resource usage as a warning message. A warning message is also output when the specification for a definition or command is incorrect, but processing has continued with a default value. |
I |
Indicates an information message. These are messages other than the E and W messages above that simply report operations (such as startup, termination, or command execution). They are output when processing starts, terminates, and so on. |
Q |
Indicates a query message. When this type of message is output, the system waits for a response from the user. |
Note that when messages are output to a message log file or syslog, they are output with additional information such as process IDs. The format in which messages are output to message log files or syslog is as follows.
-
Message format for output to a message log file
yyyy/mm/dd hh:mm:ss AA....AA BB....BB CC....CCDD....DD KFAAnnnnn-Y message-text
The following additional information is also output:
-
yyyy/mm/dd: Year/month/date (10 characters)
-
hh:mm:ss: Hours:minutes:seconds (8 characters)
-
AA....AA: Local process ID (10 numeric characters)
-
BB....BB: Real thread ID (10 numeric characters)
-
CC....CC: Client process ID (10 numeric characters)
Note that for messages output in the following cases, 0 is output:
• When a connection for processing was established from an HADB client that uses a JDBC driver
• When no connection has been established
• When processing is unrelated to the connection
• When the message is output from an HADB client or a command process#
-
DD....DD: Connection sequence number (10 numeric characters)
Note that for messages output in the following cases, 0 is output:
• When no connection has been established
• When processing is unrelated to the connection
• When the message is output from an HADB client or a command process#
For messages output by processing of the updated-row columnizing facility, 9999000001 is output in the connection sequence number.
- #
-
Excluding messages that are output from the server process while a command that connects to the HADB server is establishing a connection to the HADB server.
For details about the commands that connect to the HADB server, see List of commands in List of Commands and Common Rules in the manual HADB Command Reference.
-
-
Message format for output to syslog
AA....AA BB....BB CC....CCDD....DD KFAAnnnnn-Y message-text
The following additional information is also output:
-
AA....AA: Local process ID (10 numeric characters)
-
BB....BB: Real thread ID (10 numeric characters)
-
CC....CC: Client process ID (10 numeric characters)
Note that for messages output in the following cases, 0 is output:
• When a connection for processing was established from an HADB client that uses a JDBC driver
• When no connection has been established
• When processing is unrelated to the connection
• When the message is output from an HADB client or a command process#
-
DD....DD: Connection sequence number (10 numeric characters)
Note that for messages output in the following cases, 0 is output:
• When no connection has been established
• When processing is unrelated to the connection
• When the message is output from an HADB client or a command process#
- #
-
Excluding messages that are output from the server process while a command that connects to the HADB server is establishing a connection to the HADB server.
For details about the commands that connect to the HADB server, see List of commands in List of Commands and Common Rules in the manual HADB Command Reference.
-