dear Jeremy,

after quoting the logformat string the warning is like this:

********************
Processing...
analog: Warning C: Too many arguments for configuration command:
ignoring end
  of line starting:
  LOGFORMAT APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i
  (For help on all errors and warnings, see docs/errors.html)
analog: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i
analog: ...cont..:   (reason: no item codes are present)
analog: Warning C: Unknown configuration command: ignoring it:
  \\\"%{REFERER}I\\\" \\\"%{User-agent}i\\\")
analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple
  Extras:Analog:logfiles:access.log.05: try different LOGFORMAT
    Current logfile format:
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
Complete!

**********************

When I use analog helper, the program automatically puts the LOGFORMAT
expression in front of APACHELOGFORMAT.
and the result again: an empty .html page.
What else can I try?

Hilmar Boehle


Jeremy Wadsack wrote:
> 
> 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/[email protected]/
> > > ------------------------------------------------------------------------
> > ------------------------------------------------------------------------
> > 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]/
> > ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------
> 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]/
> ------------------------------------------------------------------------
------------------------------------------------------------------------
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