Hilmar Boehle wrote:

> I tried:
> APACHEDEFAULTLOGFORMAT
> APACHELOGFORMAT
> and
> LOGFORMAT
> All not working with my logformat specification:
> (%{Host}i %h %l %u %t \\\"%r\\\" %S %b %{Host}i\\\"%{Referer}i\\\"
> \\\"%{Useragent}i\\\")
> 
> LOGFILE "Hard disk:analog/*.log"
> 
> What else can I try?

Fist of all, syntax like "%{Host}i" only works for APACHE*LOGFORMAT 
commands so you don't even want to try it with LOGFORMAT.

Second, you have far too many escapes in there -- Analog is going to try 
to find '\' in the file when you don't want it. Try just this, as Aengus 
suggested before (one line):

APACHEDEFAULTLOGFORMAT (%{Host}i %h %l %u %t "%r" %S %b 
%{Host}i"%{Referer}i" "%{Useragent}i\\\")

Finally, I suspect that even that isn't what your Apache configuration 
file has in it. Check the LogFormat statement in your httpd.conf 
carefully. There should either be a space between the %{Host}i and 
"%{Referer}i" or, more likely, that second %{Host}i should not even be 
there (although then your logformat would be Combined and Analog would 
recognize it immediately).


-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to