Example of a Log File for a Server Request Processor
The following code displays a log file entry in a sample server
request processor log file, which can help you troubleshoot why a
component request might not run. The name of this log file is SRProc_TaskID.log and is found in the SIEBELSRVR_ROOT\log
directory. This code captures an event defined by the
event SRMRouting subtype, which belongs to the SRMRouting component
event type. The following table provides a detailed description of
the sample output. This event has a log level of 4.
2021 2017-05-11 11:54:24 2017-05-11 12:50:55 +0530 000002d4 001 003f 0001 09
TestMTSBound 4194307 332 2976 m:\siebel\log\TestMTSBound_0004_4194307.log 17.0
[xxxxx] ENU
Log Header Detail | Description |
---|---|
2021 |
Indicates the values of the LogEol and LogXlateMsgs parameters, as well as the file version and file completion indicators. The first number represents the LogEol parameter. This parameter can take values CRLF, LF, CR, or a custom value where:
The second number represents the file completion indicator as zero and does not change. The third number represents the file version indicator as 2 and does not change. The fourth number represents the value of the LogXlateMsgs (translate log file) parameter in the log file. The LogXlateMsgs parameter can take the values true or false where:
In this example, 2021 indicates the following:
|
2017-05-11 11:54:24 |
Log file creation timestamp. |
2017-05-11 12:50:55 |
Log file completion timestamp. |
+0530 |
Indicates the time difference of the Siebel Server time zone from GMT in the format ±HHMM, where HH represents hours, and MM represents minutes. |
000002d4 |
The number of lines in the log file in hexadecimal format. |
001 |
The segment number in decimal format. |
003f |
The LogEntryFlgs parameter value is applicable only if the LogEntryFmt parameter is set to delimited. If the LogEntryFmt parameter is set to fixed, then all the fields are logged. When the LogEntryFmt is set to delimited, the LogEntryFlgs parameter takes values in decimal format and then internally converts the values to binary format. For example, if the LogEntryFlgs parameter is set to the value of 63, then the value is converted to its binary equivalent of 00111111, and is then processed further. The bits are numbered from right to left, starting from 0 to 7 (the seventh bit is 0, and the zero-position bit is 1). Given the following log file entry:
If the bit in the:
|
0001 |
The number of characters in the LogFieldDelim
parameter. The default value is |
09 |
Represents the characters in the LogFieldDelim
parameter. The default value is |
TestMTSBound |
The name of the component. |
4194307 |
The task ID. |
332 |
The process ID of the component process. |
2976 |
The thread ID. |
m:\siebel\log\TestMTSBound_0004_4194307.log |
The log file name. |
17.0 [xxxxx] ENU |
The product version, including the language code. |