--- Aengus <[EMAIL PROTECTED]> wrote:

> On Monday, October 31, 2005 5:47 PM [EDT],
> simon coxall <[EMAIL PROTECTED]> wrote:
> 
> > Analog is refusing to see my apache logfile. I
> have
> > tried not specifying a format. My httpd.conf looks
> > like:
> >
> > LogFormat "%h %l %u %t \"%r\" %>s %b
> \"%{Referer}i\"
> > \"%{User-Agent}i\"" combined
> > LogFormat "%h %l %u %t \"%r\" %>s %b" common
> > LogFormat "%{Referer}i -> %U" referer
> > LogFormat "%{User-agent}i" agent
> >
> ...
> > CustomLog /var/log/apache/access_log common
> ...
> > CustomLog /var/log/apache/access_log combined
> 
> You have 2 CustomLog statements. As this is an
> Analog list, and not an
> Apache list, I don't know off hand what your logfile
> is going to look like,
> and you didn't include an example of your logfile,
> so I'd suggest that you
> add both of these sttements to your .cfg file.
> 
> APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b
> \"%{Referer}i\"
> \"%{User-Agent}i\")
> 
> APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b)
> 
> If that doesn't work, post an example of 2 or 3
> lines from your logs.
> 
> > I don't really know where to go from here. If I
> > specify APACHELOGFORMAT with the combined or
> common
> > lines from above, I still get errors. Apparently
> > analog doesn't like '%t' in a line. Anyway, the
> error
> > output is this:
> >
> > analog: analog version 6.0/Unix
> > analog: Warning L: Large number of corrupt lines
> in
> > logfile
> >   /var/log/apache/access_log: turn debugging on or
> try
> > different LOGFORMAT
> >   (For help on all errors and warnings, see
> > docs/errors.html)
> >     Current logfile format:
> >       %S %j %j [%d/%M/%Y:%h:%n:%j]
> "%j%w%r%wHTTP%j" %c
> > %b\n
> >       %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c
> %b\n
> >       %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b\n
> 
> There's no indication that Analog has any problem
> with %t in an
> APACHELOGFORMAT statement in those messages. In fact
> that warning message
> indicates that Analog recognizes it properly and
> parses it as
> "[%d/%M/%Y:%h:%n:%j]".
> 
> Aengus
> 
> Thanks, adding both format lines to .cfg has more or
less got rid of the errors.

analog: Warning R: In Search Word Report, turning off
pie chart of only one
  wedge


When you say logfile you mean access log or output?

HTTP/1.1" 404 227
client-200.60.231.50.speedy.net.pe - -
[31/Oct/2005:12:38:50 +0000] "GET
//cgi/stats/awstats.pl HTTP/1.1" 404 227 "-"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
ttn-wc-129254.titan.com - - [31/Oct/2005:22:05:35
+0000] "GET / HTTP/1.1" 200 6729
ttn-wc-129254.titan.com - - [31/Oct/2005:22:05:36
+0000] "GET /bugs2.gif HTTP/1.1" 200 13800
ttn-wc-129254.titan.com - - [31/Oct/2005:22:05:37
+0000] "GET /goofy.jpg HTTP/1.1" 200 3931
ttn-wc-129254.titan.com - - [31/Oct/2005:22:05:37
+0000] "GET /smug_daffy_duck.gif HTTP/1.1" 200 6343
ttn-wc-129254.titan.com - - [31/Oct/2005:22:05:38
+0000] "GET /daffy-duck.gif HTTP/1.1" 200 7066
> 
The log output is giving me figures although only up
to oct 31 22.05. Does it give up-to-date info or is
that something I need to configure? Or perhaps
nobody's visited since then. Thanks for your help.
+------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |   
> http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Analog Documentation:
> http://analog.cx/docs/Readme.html
> |  List archives: 
> http://www.analog.cx/docs/mailing.html#listarchives
> |  Usenet version:
> news://news.gmane.org/gmane.comp.web.analog.general
>
+------------------------------------------------------------------------
> 





        
        
                
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to