You need to quote the logformat string. Try this:
APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i
\\\"%{Referer}i\\\" \\\"%{User-agent}i\\\")
HTH,
Jeremy Wadsack
Wadsack-Allen Digital Group
Hilmar Boehle wrote:
> finally a got the string from my provider to detect the APACHELOGFORMAT.
> I put it up like this in the analog.cfg
>
> *******************
>
> APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i
> \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\"
>
> *******************
> After this step I get the following warnings:
>
> Processing...
> analog: Warning C: Too many arguments for configuration command:
> ignoring end
> of line starting:
> LOGFORMAT %{Host}i %h
> (For help on all errors and warnings, see docs/errors.html)
> analog: Warning C: Bad argument in configuration command: ignoring it:
> LOGFORMAT %{Host}i %h
> analog: ...cont..: (reason: an unknown item code is present)
> analog: Warning F: Can't auto-detect format of logfile Macintosh HD:Apple
> Extras:Analog:logfiles:ftp.xferlog: ignoring it
> Complete!
>
> ********************
>
> Iīm using Analog4.0 (and Analog Helper 1.2) running on a Macintosh and
> would really appreciate to get your advice (to be able to continue using
> your program...)
>
> Thank you!
> Hilmar Boehle
>
> Stephen Turner wrote:
> >
> > On Sat, 5 Feb 2000, Jason Linhart wrote:
> > >
> > > The LOGFORMAT APACHELOGFORMAT is supposed to be followed by the text from
> > > the Apache configuration command that sets up the log format for Apache.
> > > Find the correct line from the Apache configuration file and put the
> > > format string used with Apache on the end of that line.
> > >
> >
> > ... and it's just APACHELOGFORMAT not LOGFORMAT APACHELOGFORMAT.
> >
> > There is no standard Apache log format, so this command tells analog what
> > your log format is.
> >
> > --
> > Stephen Turner [EMAIL PROTECTED] http://www.statslab.cam.ac.uk/~sret1/
> > Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
> > "We can ask you to pay the full amount which you owe us if you:
> > (a) become bankrupt; or (b) die." Egg Credit Card Agreement
> >
> > ------------------------------------------------------------------------
> > 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/analog-help@lists.isite.net/
> > ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> 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/analog-help@lists.isite.net/
> ------------------------------------------------------------------------
------------------------------------------------------------------------
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/analog-help@lists.isite.net/
------------------------------------------------------------------------