httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max.Dittr...@t-online.de (Max Dittrich)
Subject Re: [users@httpd] Logging to MySQL?
Date Fri, 04 Jul 2003 20:57:21 GMT
Paul Chvostek wrote:
> I've been looking at Apache's mod_log_mysql and mod_mylo, and if I don't
> need the extended featureset offered by mod_log_mysql, I can't help but
> wonder if I'd get any better performance than with something like:
> 
>  LogFormat "INSERT INTO httpdlog (vhost,host,logname,...) ('%v','%h','%l',...);" mysqlfmt
>  CustomLog "|/usr/local/bin/mysql -uuser -ppass logdb" mysqlfmt

Single quotes doesn't get escaped by mod_log_config, so you can get in 
trouble logging %r.

[...]

2cents,
.max


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message