blob: 4beccec5c7bc3eeb36df527aa74faf31c689e35c (
plain)
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
|
1.98: 2004-04-?
* re-fixed apache.m4 to better detect APR and APU code
* fixed for win32 compilation under apache 2
* lowered minumum required apache 2 version to 2.0.40 (RH9)
* Added LogSQLDisablePreserve to disable the preserve file.
* Changed default preserve file location to logs/mod_log_sql-preserve
And made LogSQLPreserveFile root relative.
* fixed bug where preserve file wouldn't be created in apache 2
1.97: 2004-04-08
* fixed apache.m4 to work with apache 2 setups with different include
directories for APR and APU then core Apache
* cleaned up configuration documentation (updated due to deprecated commands)
* LogSQLLoginInfo updated to support a connection URI
* new module "registration" macros to clean up new driver modules
* mysql driver completely separted from core module
1.96: 2004-03-04
* fixed LogSQLPreserveFile config parameter
* reworked safe_create_tables and core SQL insert routine.
* renamed log_sql_* variables and typedefs to logsql_*
* separated all mysql specific code to separate code module (DB abstraction)
* separated TODO from Changelog
* fixed default value of socket file. it's really /var/lib/mysql/mysql.sock not
/tmp/mysql.sock
* Documentation completely converted to Docbook
* Documentation updated. (still needs more work done)
* LogSQLDelayedInserts config option removed
* Added DB generic LogSQLDBParam. Usage is LogSQLDBParam param value
example: LogSQLDBParam tcpport 12345
* notes, cookes, headersin, headersout tables are no longer created unless they
are used.
1.95: 2004-02-05
* audit and update of extract_* functions to acheive same output as
mod_log_config.
1.94: 2004-02-03
* ssl loggin back in as separate module under 1.3 and 2.0
* preparsing of format tags is now done to speed up main logging loop.
* fixed a nasty bug with pointer arithmetic (ick) that caused a segfault with
LogSQLWhichCookies
1.93: 2004-01-20
* Compiles for apache 1.3 AND 2.0
* split apache version specific functions to seperate header files
* split apache version specific includes to seperate header files
* added wrapper defines for apache 1.3
* updated configure m4 scripts to detect both apache versions at the same time
and assign defines as to which version was found.
* made install default to not activate module in configuration files.
use make activate instead
* split SSL logging to separate module (still needs to be finished)
1.92: 2004-01-05
* fixed compilation issue with mysql 4.x where mysql_error returns const char *
* Have SSL support compiling (though not really tested)
* updated configure macros to detect mod_ssl.h
* configure now uses --with-apxs instead of --with-apache
* Added documentation from 1.19b (needs to be update)
* Fixed an issue with dependencies in Makefile.in
1.91: 2003-12-23
* Added checks for MySQL to autoconf
* fixed merge code to work correctly.
* Merged in 1.19b1 changes
* Hostnames are now converted to lowercase in the mass-virtual naming section.
The loop that converts dots to underscores has been optimized as well.
* New directive LogSQLTableType allows one to specify the kind of table that
the module makes during table creation (e.g. InnoDB, MyISAM). Thanks to Jim
Turner for the suggestion and patch. If your MySQL server does not support
the specified type, it will create a MyISAM table instead.
* Directives can now be placed in the 'main' server config and will be
inherited by the virtual hosts. This means a LOT less repetition: you only
specify the item once to have it inherited, but it can still be overridden
on a virtualhost level. These can be specified in this manner:
LogSQLTransferLogTable
LogSQLTransferLogFormat
LogSQLPreserveFile
LogSQLNotesLogTable
LogSQLHeadersInLogTable
LogSQLHeadersOutLogTable
LogSQLCookieLogTable
LogSQLRemhostIgnore
LogSQLRequestIgnore
LogSQLRequestAccept
LogSQLWhichNotes
LogSQLWhichHeadersOut
LogSQLWhichHeadersIn
LogSQLWhichCookies
LogSQLWhichCookie
1.90: 2003-12-22
* updated code to compile under apache 2.0
* rewrote and consolidate configuration handler routines
* made all functions static.
* made delayed insert configurable, instead of compile time
* moved to my autoconfigure support
1.18:
* Delayed inserts (a MySQL extension) are now available at compile-time.
THIS IS UGLY because there seems to be a bug in the way MySQL returns
errors on failed INSERT DELAYED queries. See the FAQ.
* Reworked the Makefile a tad.
* Added stdlib.h to the includes
| 2002-11-14 |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
that will rename mod_log_mysql to mod_log_sql.
|
| |
|
|
|
| |
space.
|
| |
|
|
|
| |
own hand tests. Mods documented in CHANGELOG.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
errors are reported and handled. Any missed queries during SQL downtime
are written out to a textfile.
|
| | |
|
| | |
|
| |
|
|
|
| |
folks, and enabled a socket name DEFINE.
|
| |
|
|
|
| |
based on a user's input.
|
| |
|
|
|
|
| |
complaining about bad communication packets. Considerable code reorg
and cleanup.
|
| |
|
|
|
| |
due to an earlier deletion from the SELECT statement.
|
| | |
|
| |
|
|
|
| |
new formatting characters, bugfixes, etc.
|