$Id: CHANGELOG,v 1.18 2004/03/22 20:32:16 urkle Exp $ ?: ? * fixed apache.m4 to work with apache 2 setups with different include directories for APR and APU then core Apache 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, some systems need it for atoi(). Added string.h to the includes just to be safe. * Reworked table creation (again). Inserts are attempted and tables are made only on ER_NO_SUCH_TABLE. This should solve all the multiple- creation-attempt issues as well as reduce overhead. * safe_mysql_query reworked; it now can be counted on to preserve_entry() if the query doesn't succeed. [Before, preserve_entry() was called separately.] * Always reset SIGPIPE to handler before leaving safe_mysql_query(). * New directive LogSQLRequestAccept, another filter for excluding things from being logged. * Alphabetized the directives in the reference section of the docs. * New format char 'a' lets one log the request arguments, i.e. the part of a CGI request after the ? character. Also put a column for this in the create_tables.sql file. Thanks to Dave Wilson for this. * Reorganized the FAQ by section. * Renamed global variables (e.g. tcp_port -> logsql_tcpport) throughout the code in order to ensure against naming conflicts. tcp_port, in particular, seemed to be causing problems / segfaults on certain systems. * Renamed safe_mysql_query() to safe_sql_query(). * Now check for minimum configuration info to establish db link and log an error if it's insufficient. 1.17: * Renamed the module mod_log_sql to conform to the project goal of database-inspecificity. * Added capability of logging Notes field. This is useful for folks using custom modules that provide loggable info in the notes, e.g. mod_gzip. A new directive LogSQLWhichNotes configures which notes to log to the notes_log table. * Added capability of logging inbound and outbound headers. New directives LogSQLWhichHeadersIn and LogSQLWhichHeadersOut configure which headers to capture. Headers are stored in their own tabGravatar Edward Rudd 2004-02-04 | | | | | | Added authors file release 1.94 * added DocBook version of the manualGravatar Edward Rudd 2004-01-24 | * SSL support working under 1.3 and 2.0 as a separate moduleGravatar Edward Rudd 2004-01-22 | | | | | | preparsing of logformat completed. updated configure scripts to detect mod_ssl.h for 1.3 (mostly) * fixed log_error function1.93Gravatar Edward Rudd 2004-01-21 | | | | | | | finished ssl split into separate module added item registration function. (for ssl sub-module) release 1.93 * make sure I initialize the hashGravatar Edward Rudd 2004-01-20 | * Added item registration function and added functions to new system header ↵Gravatar Edward Rudd 2004-01-20 | | | | | | | mod_log_sql.h Registered core item functions in pre_config * moved extract_* functions to functions.h (version specific in ↵Gravatar Edward Rudd 2004-01-20 | | | | | | | | | functions(13|20).h) moves SSL logging routings to mod_log_sql_ssl.c updated changelog added AUTHORS * split out version specific codeGravatar Edward Rudd 2004-01-20 | | | | | | | code compiles under apache 1.3 and 2.0 updated apache m4 script to detect both verions (two minumums) defaulted install to not activate module in configuration file (use make activate) * fixed SSL cflag inclusion1.92Gravatar Edward Rudd 2004-01-06 | * update m4 filesGravatar Edward Rudd 2004-01-06 | | | | | release 1.92 * update apache.m4 to use -with-apxs instead of --with-apacheGravatar Edward Rudd 2004-01-04 | | | | | | got SSL support to compile. added Documentation subdirectory. * uses Date::Parse instead of ParseDateGravatar Edward Rudd 2003-12-30 | | | | | | uses Getopt::Long instead of Getopt:Std Added in filling in of request_time fields instead of just timestamp. * added mysql import script by Aaron Jenson.Gravatar Edward Rudd 2003-12-30 | * removed -n parameter to apxs as it isn\'t needed for this moduleGravatar Edward Rudd 2003-12-30 | * mysql_error returns const char * in mysql 4.x, updated variable defs in ↵Gravatar Edward Rudd 2003-12-30 | | | | safe_sql_query to avoid warning. * update autoconf scripts to check MySQL..1.91Gravatar Edward Rudd 2003-12-23 | | | | | | | | | moved autoconf DEFUN macros to m4 subdirectory autogen.sh calls aclocal to include m4 directory. merged in changes from 1.19b1 fixed log_sql_merge_config bug in 1.19b1 release 1.91 * compiles and loads under apache2.0Gravatar Edward Rudd 2003-12-22 | | | | | | consolidated configuration functions uses APR_OFFSETOF.. delayed inserts are configurable * *** empty log message ***