-
Notifications
You must be signed in to change notification settings - Fork 1
/
auerlog.txt
174 lines (141 loc) · 5.08 KB
/
auerlog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
Packet structure
packet structure changes based on msg_type
+---------------------------+
| msg_type == 0 |
| (2 Octets) |
+---------------------------+
| level |
| (4 Octets) |
+---------------------------+
| category |
| (32 Octets) |
+---------------------------+
| process id |
| (4 Octets) |
+---------------------------+
| thread id |
| (4 Octets) |
+---------------------------+
| procname |
| (16 Octets) |
+---------------------------+
| threadname |
| (16 Octets) |
+---------------------------+
| class_name or source file |
| (32 Octets) |
+---------------------------+
| method or function name |
| (32 Octets) |
+---------------------------+
| line number |
| (4 Octets) |
+---------------------------+
| sequence number |
| (4 Octets) |
+---------------------------+
| debugtext |
| ( x Octets) |
. .
. .
+---------------------------+
| null |
| (1 Octets) |
+---------------------------+
+---------------------------+
| msg_type == 1 |
| (2 Octets) |
+---------------------------+
| level |
| (4 Octets) |
+---------------------------+
| category |
| (32 Octets) |
+---------------------------+
| src_ip |
| (16 Octets) |
+---------------------------+
| src_port |
| (2 Octets) |
+---------------------------+
| dst_ip |
| (16 Octets) |
+---------------------------+
| dst_port |
| (2 Octets) |
+---------------------------+
| process id |
| (4 Octets) |
+---------------------------+
| thread id |
| (4 Octets) |
+---------------------------+
| procname |
| (16 Octets) |
+---------------------------+
| threadname |
| (16 Octets) |
+---------------------------+
| <ignore> |
| (36 Octets) |
+---------------------------+
| sip package |
| ( x Octets) |
. .
. .
+---------------------------+
| null |
| (1 Octets) |
+---------------------------+
Each package starts with a message header followed by the payload and
a 0 byte.
The message header currently has a fixed width of 150 bytes.
For the future the length of the header might change based on the msg_type.
(This will allow for less waste compared to the fix length)
Whenever the content structure of the message or length of header is changed
a new msg_type will be used.
All multi-byte fields with integral vallues are little-endian.
The msg_type field contains a value that is one of:
* 0, for a debug text message;
* 1, for a SIP packet message.
The level field contains a value that is one of:
* 0 = "Off";
* 1 = "Error";
* 2 = "Warning";
* 3 = "Info";
* 4 = "Debug";
* 5 = "EDebug";
* 6 = "XDebug".
The cateory field is an ASCII string.
In a debug text message:
The process id field is the UN*X/Windows process ID of the process
that is logging the message.
The thread id field is the UN*X/Windows thread ID for the thread, within
that process, that is logging the message.
The procname field is an ASCII string giving the internal name of the
process indicated by the process id field.
The threadname field is an ASCII string giving the name of the thread
indicated by the thread id field, if it was was given a name for
clarity; it is frequently empty.
The class_name or source file field is an ASCII string giving the class
name, for C++ code, or source code file name, for C code, of the code
that is logging the message.
The method or function name field is an ASCII string giving the method
name, for C++ code, or function name, for C code, of the code that is
logging the message.
The line number field is the source file line number that is logging the
message.
The sequence number field is a number that is increased each time a log
line is prpared internally. If a sequence number is missing, it is
usually due to performance problems during logging.
The debugtext field is an ASCII string that runs to the end of the data,
with a one-octet null byte at the end.
In a SIP packet message:
The src_ip field is the IPv6 address from which the SIP packet was sent.
The src_port field is the port from which the SIP packet was sent.
The dst_ip field is the IPv6 address of the host to which the SIP packet
was sent.
The dst_port is the port to which the SIP packet was sent.
The <ignore> field is 76 octets of padding; they should be ignored.
The SIP package field is the contents of the SIP packet. It runs to the
end of the data, with a one-octet null byte at the end.