Skip to main content
Version: 2.7.0

Trace Bit

Trace bits and least significant Byte

The LogMask and the CollectedLogMask settings are controlled with trace bits. The following graphic illustrates this: Hex mask illustration

The trace level of the log mask is set by the least significant byte (LSB) of the TraceMask-setting. Change this single digit to set a new trace level.

Least Significant Byte (LSB)Meaning
xxxxxxx0Logging is turned off
xxxxxxx1Only fatal errors are logged
xxxxxxx2Only fatal errors and errors are logged
xxxxxxx3Only fatal errors, errors and warnings are logged
xxxxxxx4Only fatal errors, errors, warnings and informational messages are logged
xxxxxxx5 - xxxxxxxfFatal errors, errors, warnings, informational and debug messages are logged

The other digits of the TraceMask-parameters define which trace message types are logged when the trace level in the last digit is set to debug. The following list shows all defined trace bits of the trace mask. They are only relevant when the trace level of the log mask is set to log debug messages. Conversely, setting the trace level to log debug messages requires that also one or several of the trace bits are set. Multiple messages can be combined via bitwise OR.

Note that the COLLECTED bit (0x80000000) must be set to activate the collected trace messages. If this bit is not set, the TraceMaskCollectMsg-settings have no effect and no collected trace messages are logged.

b+s ConnectMCAL

Trace FlagsTrace BitTrace FlagsTrace BitTrace FlagsTrace Bit
COMMUNICATION0x00000010TRANSACTION0x00002000CREATE0x01000000
TPI0x00000020SCHEDULER0x00004000DELETE0x02000000
ICM0x00000040CONFIG0x00008000BEGIN_METHOD0x04000000
AGENT0x00000080MESSAGE_NAME0x00010000END_METHOD0x08000000
CALL0x00000100MESSAGE_DETAIL0x00020000COLLECTED0x80000000
HEARTBEAT0x00040000
PERFORMANCE_DATA0x00080000

b+s Media Manager

Trace FlagsTrace BitTrace FlagsTrace BitTrace FlagsTrace Bit
MCIL0x00000020SCHEDULER0x00004000MANAGER0x00200000
ARM0x00000040CONFIG0x00008000CREATE0x01000000
MRI0x00000080MESSAGE_NAME0x00010000DELETE0x02000000
Agent0x00000100MESSAGE_DETAIL0x00020000BEGIN_METHOD0x04000000
AGT0x00000200HEARTBEAT0x00040000END_METHOD0x08000000
AGT_DETAIL0x00000400PERFORMANCE_DATA0x00080000

b+s Data Store

Trace FlagsTrace BitTrace FlagsTrace BitTrace FlagsTrace Bit
COMMUNICATION0x00000010TRANSACTION0x00002000CREATE0x01000000
SERVICE0x00000800SCHEDULER0x00004000DELETE0x02000000
CONFIG0x00008000BEGIN_METHOD0x04000000
MESSAGE_NAME0x00010000END_METHOD0x08000000
MESSAGE_DETAIL0x00020000COLLECTED0x80000000
HEARTBEAT0x00040000
PERFORMANCE_DATA0x00080000

b+s Chat Connector

Trace FlagsTrace BitTrace FlagsTrace BitTrace FlagsTrace Bit
COMMUNICATION0x00000010CHATGATEMCO0x00001000COLLECTED0x80000000
SERVICE0x00000020JABBERGATEMCO0x00002000
CHATCONNECTOR0x00000040JABBERGATE0x00004000
MMGATEMCO0x00000080
MULTISESSIONUSERMAPPING0x00000100
AGENTTASK0x00000200
MCILGATE0x00000400
MCILGATEMCO0x00000800

b+s Routing Adapter

Trace FlagsTrace BitTrace FlagsTrace BitTrace FlagsTrace Bit
COMMUNICATION0x00000010SIEBELROUTINGDETAILS0x00001000COLLECTED0x80000000
MCALCLIENTDETAILS0x00000100
MCALGATEDETAILS0x00000200
MEDIAROUTINGGATEDETAILS0x00000400

About the Bit arithmetic

0x000... defines a number in hexadecimal format. To set/enables multiple bits simply add the hexadecimal numbers. This will do the bitwise or. Be aware about the hexadecimal digit range from 0..f . Every hexadecimal digit represents 4 bits (one nibble).

HexadecimalDecimalBit
0x000000
0x110001
0x220010
0x440100
0x881000
HexadecimalDecimalBitHexadecimalDecimalBit
0x0000000x881000
0x1100010x991001
0x2200100xa101010
0x3300110xb111011
0x4401000xc121100
0x5501010xd131101
0x6601100xe141110
0x7701110xf151111

Example:

Set the b+s Data Store trace mask enabling COMMUNICATION, BEGIN_METHOD, END_METHOD and COLLECTED.

Calculation of the trace bits:

COMMUNICATION             0x00000010    00000000000000000000000000010000   
BEGIN_METHOD 0x04000000 00000100000000000000000000000000
END_METHOD 0x08000000 00001000000000000000000000000000
COLLECTED 0x80000000 10000000000000000000000000000000
enabling the trace level 0x0000000F 00000000000000000000000000001111
---------- --------------------------------
0x8c00001f 10001100000000000000000000011111

Prefix the numbers with 0x marks it as hexadecimal. In the .ini file, it loks like LogMask=0x8c00001f. You can also enter the decimal value LogMask=2348810271 but we recommend the hexadecimal format.