On Wed, 30 Jul 2003, Karl Berry wrote:
>
> So then, following the advice in logfmt.html, I added the analog
> declaration (before any LOGFILE statement) to be:
> APACHELOGFORMAT
> (%h\t%l\t%u\t%t\t\"%r\"\t%>s\t%b\t\"%{Referer}i\"\t\"%{User-Agent}i\"\t%V\t%{SSL_PROTOCOL}x\t%{SSL_CIPHER}x\t%{SSL_CLIENT_S_DN_CN}x)
>
> Unfortunately, analog thinks the log lines are corrupt (all of them,
> there are many thousands in many files for different vhosts). The error
> message is:
> analog: Warning L: Large number of corrupt lines in logfile
> ../logs/access_log.200307.gz: turn debugging on or try different LOGFORMAT
> Current logfile format:
> %St%jt%jt[%d/%M/%Y:%h:%n:%j]t"%j%w%r%wHTTP%j"t%ct%bt"%f"t"%B"t%vt%jt%jt%j\n
>
Thanks for the bug report, Karl. It looks like your \t's have turned into
just t's. Try putting \\t throughout the APACHELOGFORMAT, and let me know if
that fixes it.
--
Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/
"The question of whether a computer can think is no more interesting than
the question of whether a submarine can swim." (Edsger W. Dijkstra)
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| Digest version: http://lists.isite.net/listgate/analog-help-digest/
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------