On Wed, 15 Mar 2000, Peter Rose wrote:
>
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
> 
> =============================================
> Analog, however, cannot auto-detect the format of the referer log if I
> run without a LOGFORMAT line. (it picks up the access log OK)
> 
> I have tried several different APACHELOGFORMAT statements from the
> archive in my analog.cfg  (yes, BEFORE the LOGFILE lines:-) but they all
> give errors either saying 'large number of corrupt lines' or incorrect
> syntax in logformat.
> 

It should pick it up automatically. You didn't have an earlier LOGFORMAT or
APACHELOGFORMAT?

Anyway, if you need one, try just
  APACHELOGFORMAT "%{Referer}i -> %U"

If you still get corrupt lines, check the format with SETTINGS ON, and/or
turn debugging on to see where lines are corrupt.

-- 
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
"8th March 2000. National No Smoking Day. Ash Wednesday." (On a calendar)

------------------------------------------------------------------------
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