?

Log in

No account? Create an account

Previous Entry | Next Entry

LogFormat "INSERT INTO access_log
(remoteip, bytes, timetook, url, method, status, time, vhost, user, referer, useragent)
VALUES
(INET_ATON(\"%a\"), %B, %D, \"%U\", \"%m\", %>s, FROM_UNIXTIME(\"%{%s}t\"), \"%v\", \"%u\", \"%{Referer}i\", \"%{User-agent}i\");" sql
CustomLog "| /usr/local/bin/mysql -uXXXXXX -pXXXXXX -s apache" sql


Bwahahaha.