summaryrefslogtreecommitdiffstats
path: root/README
blob: d25bc0613048363b36bde4af98c7618e6e8f789d (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
$Id: README,v 1.3 2001/12/07 03:52:56 helios Exp $


Homepage
--------
http://www.grubbybaby.com/mod_log_mysql/



Approach
--------

In order to save speed and overhead, links are kept alive in between
queries.  This module uses one SQL link per httpd process.  Among other
things, this means that this module supports logging into only one
MySQL server, and for now, also, only one SQL database (although the
latter limitation can be relatively easily removed). 

Different data can be sent to different tables.  i.e., it's possible to
define one table for TransferLog, one for RefererLog, and a 3rd for
AgentLog.  [ Note: this is now deprecated behavior.  Please consider
logging Agent and Referer to the same table as your transfers. ]

Virtual hosts are supported in the same manner they are in the regular
logging modules.  If you specify a different table for a virtual
host it will be used, otherwise the 'general' would be used.  Note:
since all 3 types of logs are implemented within the same module, if
you specify an overriding table for a virtual host for one type of log,
it'll ignore any previous 'general' defaults (see the example in the
end).

SQL links are opened on demand (i.e., the first time each httpd needs
to log something to SQL, the link is opened).  In case the SQL server
is down when trying to connect to it, the module remains silent and
logs no error (I didn't want thousands of error messages in the
logfile).  In case the SQL link is broken ("mysql server has gone
away") a proper error message is kept to the error log (textual :), and
the module tries to reestablish the concact (and reports whether it
succeeded or not in the error log).  If the link cannot be
reestablished, the module wilGravatar Christopher Powell
2002-12-10
|
* Changes on route to 1.18 release (better table creation logic and ↵Gravatar Christopher Powell 2002-12-10
| | | | workarounds for delayed insert kluge).
* Further Makefile reorg/cleanup, a new option to support delayed insertsGravatar Christopher Powell 2002-11-27
| | | | | with accompanying documentation.
* Some more doc edits & cleanup.Gravatar Christopher Powell 2002-11-19
|
* Some makefile changes to take care of images embedded in the docs.Gravatar Christopher Powell 2002-11-19
|
* Yet more minor documentation edits.Gravatar Christopher Powell 2002-11-19
|
* Many more doc edits. Reworked the makefile to use ssh/scp for 'make distro'.1.17Gravatar Christopher Powell 2002-11-17
|
* Further changes to the documentation and how it is generated.Gravatar Christopher Powell 2002-11-15
|
* More documentation work on the way to final 1.17 release.Gravatar Christopher Powell 2002-11-14
| | | | | Additional work on the Makefile.
* Yanking old doc files.Gravatar Christopher Powell 2002-11-14
|
* Monster changes en route to 1.17. Esp. with new documentation.Gravatar Christopher Powell 2002-11-14
|
* *** empty log message ***1.17pre2Gravatar Christopher Powell 2002-09-04
|
* Lots of changes & bugfixes as requested on the list. Pre-1 of 1.17.1.17pre1Gravatar Christopher Powell 2002-06-27
|
* More effort toward next release. Now include headers in/out.Gravatar Christopher Powell 2002-05-24
|
* Further changes on the way to 1.17, big one was the segfault fix.Gravatar Christopher Powell 2002-05-16
|
* Removed (TM)s.Gravatar Christopher Powell 2002-05-14
|
* Added notes logging capability. This is a commit prior to a lot of workGravatar Christopher Powell 2002-05-14
| | | | | that will rename mod_log_mysql to mod_log_sql.
* Moved the create_tables flag to the 'main server' and out of virtual-host1.16Gravatar Christopher Powell 2002-04-23
| | | | | space.
* Significant headway toward a releasable 1.16, passed ab testing and myGravatar Christopher Powell 2002-04-23
| | | | | own hand tests. Mods documented in CHANGELOG.
* Significant bugfixes and feature additions on the way to 1.16...Gravatar Christopher Powell 2002-04-21
|
* Fixed buglet with preserve file (needed semicolon) and updated README.1.15Gravatar Christopher Powell 2002-04-08
|
* *** empty log message ***Gravatar Christopher Powell 2002-04-08
|
* Added - but did not activate - routines to handle proxy environment variables.Gravatar Christopher Powell 2002-04-08
|
* This is a "pre" snapshot of 1.15. Numerous changes emphasizing how SQLGravatar Christopher Powell 2002-04-02
| | | | | | errors are reported and handled. Any missed queries during SQL downtime are written out to a textfile.
* *** empty log message ***1.14Gravatar Christopher Powell 2002-02-24
|
* Minor but significant updates to the instructions for apxs users.Gravatar Christopher Powell 2002-02-24
|
* Ported to mysql_real_connect, made a change for the mass-virtual-hosting1.13Gravatar Christopher Powell 2002-01-15
| | | | | folks, and enabled a socket name DEFINE.
* Fixed another typo in make_combined_log; improved DSO instructionsGravatar Christopher Powell 2002-01-02
| | | | | based on a user's input.
* Added a mysql_close mechanism to the child exit process to fix MySQLGravatar Christopher Powell 2001-12-07
| | | | | | complaining about bad communication packets. Considerable code reorg and cleanup.
* Fixed a bug where make_combined_log.pl's data[] types were off by one1.121.11Gravatar Christopher Powell 2001-12-04
| | | | | due to an earlier deletion from the SELECT statement.
* 'make distro' now copies textfiles to html directory for online perusal.Gravatar Christopher Powell 2001-12-03
|
* Big changes including reworked cookie code, new directives, SSL logging,Gravatar Christopher Powell 2001-12-03
| | | | | new formatting characters, bugfixes, etc.
* A lot of code cleanup and tweaking, plus cookie logging:1.10Gravatar Christopher Powell 2001-11-30
| | | | | | | | | | | * New capability: log mod_usertrack cookies. * Some code cleanup and commenting. * Referer and User-Agent now set to want_orig=1 ( a very minor detail ) * Corrected mysql_escape_log to properly check for and escape strings with 'dangerous' characters. It appears that it was doing this incorrectly before. * Deleted log_mysql_child(), a function that was never called.
* Initial revision1.09Gravatar Christopher Powell 2001-11-28