Royce Howland ([EMAIL PROTECTED]):
> * Sample log entry: > --- > toccata.3ge.com - - [02/Oct/2001:10:53:42 -0600] "GET / HTTP/1.0" 200 > 2369 "-" "Mozilla/4.78 [en] (Windows NT 5.0; U)" > --- > * I just put in my first Apache web server recently, and analog 5.03 > can't handle the log files. I have tried automatic mode, LOGFORMAT > COMBINED, explicit LOGFORMAT and explicit APACHELOGFORMAT. None > work, all fail with the same error: > --- > analog: analog version 5.03/Unix > analog: Warning L: Large number of corrupt lines in logfile > /usr/local/apache/logs/plan9_access_log: try different LOGFORMAT > (For help on all errors and warnings, see docs/errors.html) > Current logfile format: > %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n > %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n > %S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n > --- > * When I enable DEBUG C to find out what lines are failing, they all > -- every single one -- come back looking like this example: > --- > C: toccata.3ge.com - - [02/Oct/2001:10:55:16 -0600] "GET / HTTP/1.0" 200 > 2369 > C: > * > --- > * Note that the input line evidently has been truncated right after the > %b, so analog rightly complains that the line is corrupted -- no "%f" > "%B" at the end. All complaints for all input lines are the same, > truncation right after %b. However the %b value itself is always > complete; none of the numbers are cut off early. Try adding 'LOGFORMAT common' to your configuration file. -- Jeremy Wadsack Wadsack-Allen Digital Group +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
