httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (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.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message