summaryrefslogtreecommitdiffstatsabout
path: root/mod_log_sql.c
Commit message (Collapse)AuthorAgeFilesLines
* auto table names for massVirtualhosting swap - with _Edward Rudd2004-09-201-28/+31
| | | | | | added 'V' logformat to log virtualhost according to canonical setting.
* fixed another segfault related to the mysql escaping function (forcepreserve ↵Edward Rudd2004-07-161-5/+5
| | | | | | | | | | | bug) included win32 build bat files in distribution separated -Werror to a configure time option (--enable-maintainer) update autogen to use autoconf 2.57, aclocal 1.7 included pgsql and dbi module source in distribution. setup autodetection in configure script for databases.
* moved quoting of fields to DB driver Edward Rudd2004-06-031-24/+24
| | | | | | fixed segfault in the mysql escape string function DBi driver working with postgresql.
* changed strstr to ap_strstr or ap_strstr_cEdward Rudd2004-05-051-5/+5
| | | | | | changed strchr to ap_strchr or ap_strchr_c
* win32 fixes for apache 1.3Edward Rudd2004-04-291-2/+2
| | | | added win32 build script
* added Sleep for win32 on apache 1.3Edward Rudd2004-04-291-0/+4
|
* win32 updates and build scriptEdward Rudd2004-04-291-9/+55
| | | | | added LogSQLDisablePreserve set default of preserve file to root_relative logs/mod_log_sql-preserve
* beginnings of postgresql driver integrated into autoconfEdward Rudd2004-04-171-9/+9
| | | | | removed log_error from apache20.h (aliased to ap_log_rerror)
* Made to work under Apache 1.3 again1.97Edward Rudd2004-04-091-23/+9
| | | | | removed debugging for config merge function
* Added registration function for database driversEdward Rudd2004-04-071-76/+158
| | | | | | | | | | | completely separated mysql driver added optional server announce (LogSQLAnnouce On) cleaned up internal names of Database parameters added code to allow +/- of logged cookies,headers, and notes, as well as remhostignore, request allow and request ignore. reorganized command_rec again made bigger not about deprecated commands updated documentation
* Updated to new logging function with apaceh 2 prototype instead of 1.3 so i ↵Edward Rudd2004-04-041-27/+35
| | | | can properly log Error numbers in apache 2 (better debugging)
* Added alternat loginInfo form.. driver://user;passwd@host:port/databasenameEdward Rudd2004-04-021-9/+39
| | | | | fixed RT_LIBS parameter in makefile.in, and configure.ac
* updated compatability header for Apache 1.3Edward Rudd2004-03-051-1/+15
| | | | | | | | | Changed log_error routing for Apache 1.3 to include APLOG_NOERRNO re-added quarter second delay between reconnect and query retry. updated makefile to generate HTML version of docbook docs. added comments to mod_log_sql_mysql.c updated documentation about --with-db-inc configure option
* removed all #ifdef DEBUGEdward Rudd2004-03-041-10/+2
|
* complete DB separation from core module code.Edward Rudd2004-03-041-28/+12
| | | | | | | 99% updated documentation (needs 2 tables added) moved DB connection code for Apache 2 from open_logs to child_init. removed more #ifdef debug lines
* mysql code separation complete..Edward Rudd2004-03-021-117/+149
|
* separated out most mysql specific code to mod_log_sql_mysql.cEdward Rudd2004-02-291-369/+119
| | | | | | | | | | beginnings of separation of core SQL logging logic moved DB connection paramters to a table (for cutoms params for DB drivers) added new configuration directive to handle any DB parameter renamed all log_sql_* vars and type to logsql_* Added enums for opendb return codes. organized config directives and commented for easier reading of source
* Fixed preserve_file configuration parameter.Edward Rudd2004-02-121-2/+2
|
* synchronized extract_* functions with latest apache 1.3 and 2.0.Edward Rudd2004-02-051-3/+4
| | | | | | | Added some more recent extract_* functions.. still need to assign format letters cleanup/audit of extract_* functions release 1.95
* fixed segfaul bug with pointer arithmetic in add_server_string_slotEdward Rudd2004-02-041-3/+2
| | | | | | Added authors file release 1.94
* SSL support working under 1.3 and 2.0 as a separate moduleEdward Rudd2004-01-221-75/+106
| | | | | | preparsing of logformat completed. updated configure scripts to detect mod_ssl.h for 1.3 (mostly)
* fixed log_error function1.93Edward Rudd2004-01-211-105/+98
| | | | | | | finished ssl split into separate module added item registration function. (for ssl sub-module) release 1.93
* make sure I initialize the hashEdward Rudd2004-01-201-3/+5
|
* Added item registration function and added functions to new system header ↵Edward Rudd2004-01-201-37/+51
| | | | | | | mod_log_sql.h Registered core item functions in pre_config
* moved extract_* functions to functions.h (version specific in ↵Edward Rudd2004-01-201-423/+5
| | | | | | | | | functions(13|20).h) moves SSL logging routings to mod_log_sql_ssl.c updated changelog added AUTHORS
* split out version specific codeEdward Rudd2004-01-201-186/+145
| | | | | | | 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)
* update apache.m4 to use -with-apxs instead of --with-apacheEdward Rudd2004-01-041-17/+23
| | | | | | got SSL support to compile. added Documentation subdirectory.
* mysql_error returns const char * in mysql 4.x, updated variable defs in ↵Edward Rudd2003-12-301-2/+2
| | | | safe_sql_query to avoid warning.
* update autoconf scripts to check MySQL..1.91Edward Rudd2003-12-231-79/+141
| | | | | | | | | 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.0Edward Rudd2003-12-221-572/+581
| | | | | | consolidated configuration functions uses APR_OFFSETOF.. delayed inserts are configurable
* CVS headers addedEdward Rudd2003-12-211-2/+2
|
* Initial revisionEdward Rudd2003-12-201-165/+47
|
* Changes on the way to 1.19. This is probably going to be 1.19b1. Detail:1.19b1Christopher Powell2003-07-221-45/+163
| | | | | | | | | | | | | | | * Hostnames are now converted to lowercase in the mass-virtual naming section. The loop that converts dots to underscores has been optimized as well. * Migration to autoconf * 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.
* Removed message about insufficient info to log.1.18Christopher Powell2002-12-181-1/+0
|
* Delayed inserts, includes, better table creation, renamed global vars,Christopher Powell2002-12-181-112/+121
|
* *** empty log message ***Christopher Powell2002-12-101-44/+1
|
* Changes on route to 1.18 release (better table creation logic and ↵Christopher Powell2002-12-101-119/+205
| | | | workarounds for delayed insert kluge).
* Further Makefile reorg/cleanup, a new option to support delayed insertsChristopher Powell2002-11-271-27/+19
| | | | | with accompanying documentation.
* More documentation work on the way to final 1.17 release.Christopher Powell2002-11-141-16/+1
| | | | | Additional work on the Makefile.
* Monster changes en route to 1.17. Esp. with new documentation.Christopher Powell2002-11-141-206/+433
|
* *** empty log message ***1.17pre2Christopher Powell2002-09-041-121/+154
|
* Lots of changes & bugfixes as requested on the list. Pre-1 of 1.17.1.17pre1Christopher Powell2002-06-271-24/+52
|
* More effort toward next release. Now include headers in/out.Christopher Powell2002-05-241-15/+178
|
* Further changes on the way to 1.17, big one was the segfault fix.Christopher Powell2002-05-161-151/+153
|
* Added notes logging capability. This is a commit prior to a lot of workChristopher Powell2002-05-141-90/+228
| | | | | that will rename mod_log_mysql to mod_log_sql.
* Moved the create_tables flag to the 'main server' and out of virtual-host1.16Christopher Powell2002-04-231-9/+6
| | | | | space.
* Significant headway toward a releasable 1.16, passed ab testing and myChristopher Powell2002-04-231-45/+40
| | | | | own hand tests. Mods documented in CHANGELOG.
* Significant bugfixes and feature additions on the way to 1.16...Christopher Powell2002-04-211-291/+383
|
* Fixed buglet with preserve file (needed semicolon) and updated README.1.15Christopher Powell2002-04-081-2/+2
|
* Added - but did not activate - routines to handle proxy environment variables.Christopher Powell2002-04-081-2/+23
|