Its not the same as IIS, but that is nowhere near a common format :) Its relatively trival to hack the log file format if you are comfortable with hacking the Zope source. -- Andy McKay. ----- Original Message ----- From: "Dennis Nichols" <nichols@tradingconnections.com> To: "Jason C. Leach" <jleach@mail.ocis.net> Cc: <zope@zope.org> Sent: Thursday, January 11, 2001 7:03 AM Subject: Re: [Zope] log file.
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
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )