[Zope] log file.

Dennis Nichols nichols@tradingconnections.com
Thu, 11 Jan 2001 09:03:09 -0600


At 1/11/01 12:25 PM, Oleg Broytmann wrote:
>On Wed, 10 Jan 2001, Jason C. Leach wrote:
> > Is the Zope log file in Common Log File Format?
>
>    Yes. You can run every standard log files analyzer on it.

Using analog (http://analog.cx) against my Zope 2.2.2 logs, I found that 
the standard analog definition of the Common Log File Format didn't exactly 
match the Z2.log format. Specifically, Zope produces a host address 
followed by a colon, which confused a few of analog's reports. I currently 
use the following in my analog.cfg file...

LOGFORMAT (%S: %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B")
LOGFORMAT (%S: %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B")



--
Dennis Nichols
nichols@tradingconnections.com