Ulf Hofemeier <[EMAIL PROTECTED]> wrote: > Hi folks: > > I could use some help figuring out the correct syntax for a new > LogFormat line in my analog.cfg file after changing the LogFormat > settings for Apache a few weeks ago. > > In my httpd.conf I have the following line: > > LogFormat "%h %l \"%u\" %t \"%r\" %>s %b \"%{Referer}i\" > \"%{User-Agent}i\"" combined > > In analog.cfg I use: > > LOGFORMAT (%h "%u" [%d/%M/%Y:%h:%n:%j] "%f" %c %b) > > which doesn't work (resulting in corrupt logfile lines)
Have you tried just using your Apache command directly? APACHELOGFORMAT ("%h %l \"%u\" %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"") If that doesn't work, can you post a couple of actual lines from your logfile. Your Apache statement has bytes before the Referrer, but your Analog statement has the bytes at the end, and doesn't even mention the request. Aengus +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------