[analog-help] Very complex apache log format

Joshua S. Freeman jf2412 at columbia.edu
Fri Nov 16 18:08:13 PST 2007


Hi,

I've read the Analog docs pretty closely.  I've used Analog on and off over
the last 10 years and am always pleased to come back...

Here are the facts:

Httpd.conf logformat line:

LogFormat "%h %l %u %t \"(%r)\" %>s %b \"(ref %{Referer}i)\" \
\"(client %{User-agent}i)\" \"(elapsed %D)\"" mainserver


What I put in my analog.cfg file:

APACHELOGFORMAT (%h %l %u %t \"(%r)\" %>s %b \"(ref %{Referer}i)\" \"(client
%{User-agent}i)\" \"(elapsed %D)\")


Which, as far as I can read, *should* work.. However, when I run analog:

$ analog -G +g./analog.cfg -v
analog: analog version 6.0/Unix
analog: Warning C: Too many arguments for configuration command: ignoring
end of line starting:
  APACHELOGFORMAT (%h %l %u %t \"(%r) \"
  (For help on all errors and warnings, see docs/errors.html)
analog: Warning C: Ignoring long configuration line starting
  # cuscon11608.tstt.net.tt - - [04/Nov/2007:00:00:06 -0400] "(GET /imag
analog: Warning M: Logfile /u/2/j/jf2412/logfiles/*.20071110 contains lines
  with no bytes: byte counts may be low

I do see that the hosts.txt file I set up is getting bigger and bigger so
SOMETHING's happening..

Of course I won't know until the file is done being parsed, etc.. But I'm
concerned about this error... Is there ANYTHING you can suggest I do to make
analog happier with the apache logformat?

TIA,


Joshua






More information about the analog-help mailing list