Debug and Trace Logs
System logs set to the debug
or trace
level show more
details about the processing operations for each MATRIXX process.
Debug Log
The following example shows debug messages for transaction_server_1.
LM_DEBUG 2822|2822 Fri Jun 24 2011 23:22:02.475099 [transaction_server_1] |
TXN1-TransactionManager:transaction_manager_task::coordinatorPrepare(),
RECV REQUEST for transaction ID: [6:-:1:220]|[0:0:0:0:0]|3
LM_DEBUG 16089|16115 Sat Sep 18 2010 21:51:32.309552 [transaction_server_1] |
AccountingTransaction::open() before place transaction context for transaction ID: [6:-:1:220]|[1:1:1:1:0]|3
coordinator: true
opened: false
target participant set: empty
approve participant set: [id: 1, ECBSM: [1:1:1:1:0]]
done participant set: [id: 1, ECBSM: [1:1:1:1:0]]
got retryable NACK: false
got NACK: false
did tentative commit: false
txn state: 'request'
transaction message:DataContainer: volume=1032, bufvolume=1032, bufMaxvolume=10240, this=0x7f4818f36058
descName=Accounting(7), descriptorPtr=0x1a9e660, version=1, flags=0, fields=56
RDM id=6:-:1:220, mtxBufPtr=0x7f4818f36020, dataPtr=0x7f4818f36188
Trace Log
The following example shows
trace messages for
transaction_server_1
.
LM_TRACE 2887|2887 Fri Jun 24 2011 23:39:02.475090 [transaction_server_1] |
TXN1-TransactionManager:transaction_manager_task:TransactionManagerTask:queueMsg:
DataContainer: volume=1032, bufvolume=1032, bufMaxvolume=10240, this=0x7f4818f36058
descName=Accounting(7), descriptorPtr=0x1a9e660, version=1, flags=0, fields=56
RDM id=6:-:1:220, mtxBufPtr=0x7f4818f36020, dataPtr=0x7f4818f36188
idx name type L A M P offset maxSz value
0 Op UINT32 0 0 0 1 0 4 1 (Accounting:single event)
1 EventType UINT32 0 0 0 1 8 4 1 (sms)
2 Result UINT32 0 0 0 0 16 4
3 MessageId UINT32 0 0 0 1 24 4 3
4 MessageRdmId UINT64 0 0 0 1 32 8 6597086544092
5 EcbsmId UINT64 0 0 0 1 40 8 1127003713503232 ([1:1:1:1:0])
6 ChrgInQueueId UINT32 0 0 0 1 48 4 0
7 ApplicationId UINT32 0 0 0 0 56 4
8 HopByHopId UINT32 0 0 0 0 64 4
9 EndToEndId UINT32 0 0 0 0 72 4
10 SubscriberId UINT64 0 0 0 1 80 8 352118615572485
11 SubscriberName STRING 0 0 0 0 0 0
12 WalletId UINT64 0 0 0 1 88 8 492856103927811
13 CallingStationId STRING 0 0 0 1 416 0 (volume=12, data=14085551103)
14 CalledStationId STRING 0 0 0 1 432 0 (volume=12, data=14086661113)
15 DeviceId STRING 0 0 0 1 448 0 (volume=7, data=term_a)
16 UsedQuantity DECIMAL 0 0 0 1 96 10 1.0
17 EventQuantityUnit UINT32 0 0 0 1 112 4 0
18 EventTime DATETIME 0 0 0 1 120 16 2009-12-22T11:59:50.000000
19 StartTime DATETIME 0 0 0 1 136 16 2009-12-22T12:00:00.000000
20 StopTime DATETIME 0 0 0 1 152 16 2009-12-22T12:00:00.000000
21 NetworkId UINT64 0 0 0 1 168 8 789
22 CallingTowerId UINT32 0 0 0 1 176 4 32
23 MultiSessionId STRING 0 0 0 0 0 0
24 SubSessionId STRING 0 0 0 0 0 0
25 SessionId STRING 0 0 0 0 0 0
26 AccountingSessionId STRING 0 0 0 0 0 0
27 NormalizedSessionId UINT64 0 0 0 1 184 8 3
28 SessionRdmId UINT64 0 0 0 0 192 8
29 SourceHost STRING 0 0 0 0 0 0
30 SourceRealm STRING 0 0 0 0 0 0
31 DestinationRealm STRING 0 0 0 0 0 0
32 SessionMessageId UINT32 0 0 0 0 200 4
33 InterimInterval UINT32 0 0 0 0 208 4
34 RealtimeRequired ENUM 0 0 0 0 216 8
35 SourceStateId UINT32 0 0 0 0 224 4
36 PricingList UINT64 1 0 0 1 232 8 {200100}
37 BalanceActionList STRUCT 1 0 0 1 242 0 {(
DataContainer: volume=160, bufvolume=1032, bufMaxvolume=10240, this=0x7f4818f36370
descName=BalanceActionData(10), descriptorPtr=0x1aa41e0, version=1, flags=1, fields=8
RDM id=6:-:1:220, mtxBufPtr=0x7f4818f36020, dataPtr=0x7f4818f363b0
idx name type L A M P offset maxSz value
0 BalanceId UINT64 0 0 0 1 0 8 563224848105477
1 BalanceClassId UINT32 0 0 0 1 8 4 840
2 Action UINT32 0 0 0 1 16 4 6 (charge)
3 Value DECIMAL 0 0 0 1 24 10 0.1
4 MatrixList STRUCT 1 0 0 0 40 0
5 GrossValueAfter DECIMAL 0 0 0 0 50 10
6 ReservedValueAfter DECIMAL 0 0 0 0 66 10
7 ChangeCounterAfter UINT32 0 0 0 0 82 4
)}
38 BalanceConditionList STRUCT 1 0 0 1 252 0 {(
DataContainer: volume=72, bufvolume=1032, bufMaxvolume=10240, this=0x7f4818f36418
descName=BalanceConditionData(12), descriptorPtr=0x1a930d0, version=1, flags=1, fields=3
RDM id=6:-:1:220, mtxBufPtr=0x7f4818f36020, dataPtr=0x7f4818f36440
idx name type L A M P offset maxSz value
0 BalanceId UINT64 0 0 0 1 0 8 563224848105477
1 Value DECIMAL 0 0 0 1 8 10 239.9
2 Condition UINT32 0 0 0 1 24 4 2
)}
39 SessionAction STRUCT 1 0 0 0 262 0
40 ThresholdNotificationList STRUCT 1 0 0 0 272 0
41 AuthQuantity DECIMAL 0 0 0 0 282 10
42 TxnResult ENUM 0 0 0 1 298 8 3
43 DiameterSocketId INT32 0 0 0 0 306 4
44 GatewaySocketId INT32 0 0 0 1 314 4 24
45 TimerId INT32 0 0 0 1 322 4 3
46 RetryCount UINT32 0 0 0 1 330 4 0
47 ApplicationOp UINT32 0 0 0 0 338 4
48 ServingHostIpAddress STRING 0 0 0 0 0 0
49 ContentType UINT32 0 0 0 1 346 4 1
50 ExternalBillingId UINT64 0 0 0 0 354 8
51 ReceiveTime DATETIME 0 0 0 0 362 16
52 TxnParticipantSet UINT64 0 0 0 1 378 8 1
53 TxnInQueueId UINT32 0 0 0 1 386 4 0
54 DeviceObjectId UINT64 0 0 0 1 394 8 352118615572486
55 TxnSequenceId UINT64 0 0 0 0 402 8
Trace Log Tables
The tables in trace logs have the columns listed in Trace Log Table Columns.
Column | Description |
---|---|
idx |
Index number of the data field. |
name |
Name of the data field. MATRIXX-defined list fields always have the suffix List , and MATRIXX-defined array fields always have the suffix
Array . |
type |
Data type of the field. |
L |
If the value is 1, indicates that the field is a list of the specified type. |
A |
If the value is 1, indicates that the field is an array of the specified type. |
M |
If the value is 1, indicates the field cannot exceed the specified maximum size. |
P |
If the value is 1, indicates a value for the field is present. |
offset |
Indicates where the value is stored in memory. |
maxSz |
Specifies the maximum size of the field, enforced if the value of M is 1. |
Value |
Specifies the value of the field, if P is 1. |
Note: The
L
and A
flags
cannot both be set.Fields of type STRING
are always terminated with a
NULL
character, and that character is always included in the
size of the field. Fields of type BLOB
need not be terminated with
a NULL
character, and they might contain NULL
characters. The size of a BLOB
field is the number of bytes in the
field.