With ApacheLogToDB you can choose Apache's log format that best suits your preferences. Some common log formats and individual arguments description can be found at this page. To conform to ApacheLogToDB's requirements, log format string must begin with "|" character and format arguments must be delimited by "|" character. Here you can see some example format strings:


The newly arranged format string must be specified in Apache's configuration file httpd.conf in LogFormat directive, e.g.:

LogFormat "|%h|%l|%t|%r|%s|%b|%{Referer}i|%{User-agent}i" db_log

Then the same format string must be specified in ApacheLogToDB.conf.xml configuration file, e.g.:


Last edited Aug 23, 2013 at 11:00 AM by CodeDriller, version 3


No comments yet.