summaryrefslogtreecommitdiffstats
path: root/mod_log_sql.c
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2004-02-05 21:59:47 +0000
committerGravatar Edward Rudd 2004-02-05 21:59:47 +0000
commit45220bcc856d6fa4b86e3f36eeaebd63d994f03f (patch)
tree3d7dde7606dd11a25335163284e3814b35bc7e01 /mod_log_sql.c
parent437e3890c6565b7d13c5e39ef8aa12858bfa9e4e (diff)
synchronized extract_* functions with latest apache 1.3 and 2.0.
Added some more recent extract_* functions.. still need to assign format letters cleanup/audit of extract_* functions release 1.95
Diffstat (limited to 'mod_log_sql.c')
-rw-r--r--mod_log_sql.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod_log_sql.c b/mod_log_sql.c
index f4b8c16..7320f66 100644
--- a/mod_log_sql.c
+++ b/mod_log_sql.c
@@ -1,4 +1,4 @@
1/* $Header: /home/cvs/mod_log_sql/mod_log_sql.c,v 1.13 2004/02/04 02:16:33 urkle Exp $ */ 1/* $Header: /home/cvs/mod_log_sql/mod_log_sql.c,v 1.14 2004/02/05 21:59:46 urkle Exp $ */
2/* --------* 2/* --------*
3 * DEFINES * 3 * DEFINES *
4 * --------*/ 4 * --------*/
@@ -717,12 +717,13 @@ static void log_sql_module_init(server_rec *s, apr_pool_t *p)
717 if (!global_config.tcpport) 717 if (!global_config.tcpport)
718 global_config.tcpport = 3306; 718 global_config.tcpport = 3306;
719 719
720 /* TODO: Add local_address, remote_address, server_name, connection_status */
720 /* Register handlers */ 721 /* Register handlers */
721 log_sql_register_item(s,p,'A', extract_agent, "agent", 1, 1); 722 log_sql_register_item(s,p,'A', extract_agent, "agent", 1, 1);
722 log_sql_register_item(s,p,'a', extract_request_args, "request_args", 1, 1); 723 log_sql_register_item(s,p,'a', extract_request_query, "request_args", 1, 1);
723 log_sql_register_item(s,p,'b', extract_bytes_sent, "bytes_sent", 0, 0); 724 log_sql_register_item(s,p,'b', extract_bytes_sent, "bytes_sent", 0, 0);
724 log_sql_register_item(s,p,'c', extract_cookie, "cookie", 0, 1); 725 log_sql_register_item(s,p,'c', extract_cookie, "cookie", 0, 1);
725 log_sql_register_item(s,p,'e', extract_env_var, "env_var", 0, 1); 726 /* TODO: Document */
726 log_sql_register_item(s,p,'f', extract_request_file, "request_file", 0, 1); 727 log_sql_register_item(s,p,'f', extract_request_file, "request_file", 0, 1);
727 log_sql_register_item(s,p,'H', extract_request_protocol, "request_protocol", 0, 1); 728 log_sql_register_item(s,p,'H', extract_request_protocol, "request_protocol", 0, 1);
728 log_sql_register_item(s,p,'h', extract_remote_host, "remote_host", 0, 1); 729 log_sql_register_item(s,p,'h', extract_remote_host, "remote_host", 0, 1);