On Mon, 16 May 2005, Alex Gr�sser wrote:
Hi
Analog has a problem with brackets in the log file.
If my log format in httpd.conf is: LogFormat "%h %l %u %t \"%r\" %>s %b (%T) \"%{Referer}i\" \"%{User-Agent}i\"" combined
And I try to set this as my APACHELOGFORMAT, I get an error about too many arguments. If I try to escape the ( and ) then I get an error about an invalid escape sequence.
I also can not get the LOGFORMAT configured correctly.
The only thing that worked is to set that field to %j (junk)! But I really want the timings if at all possible.
Any ideas out there?
You didn't say what your APACHELOGFORMAT looked like, but I assume the argument was in parentheses. Put it in single quotes instead, like this:
APACHELOGFORMAT '%h %l ..... '
-- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ "Low Priced Cambridge Clare College. Big selection at eBay UK!" (Ad after Google search for Clare College Cambridge)
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------

