Re: [Zope] page hits ?
Hi Marcio The problem with Z2.log is that it usually logs too much! It shows every file,image,html,... No boss can comprehend what Z2 logs. I therefore wrote my own logger, which logs one line per page called from the server. I used a simple python script, which I call from the standard_html_header. Later I use an AWK script to analyze it and show me the numbers I want. Regards Oliver Erlewein
You can filter out unneeded lines from Z2.log either with Squid or by changing the configuration of the reporting tools. -aj ----- Original Message ----- From: <oliver.erlewein@sqs.de> To: <zope@zope.org> Sent: Wednesday, March 27, 2002 11:13 Subject: Re: [Zope] page hits ?
Hi Marcio
The problem with Z2.log is that it usually logs too much! It shows every file,image,html,... No boss can comprehend what Z2 logs.
I therefore wrote my own logger, which logs one line per page called from the server. I used a simple python script, which I call from the standard_html_header. Later I use an AWK script to analyze it and show me the numbers I want.
Regards Oliver Erlewein
_______________________________________________ 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 )
You can filter out unneeded lines from Z2.log either with Squid
I'd like a Zope-only solution if possible, to keep it simple to install & move around.
or by changing the configuration of the reporting tools.
Is it not possible to change what gets logged ? The logs would grow slower, and I would only log what I really need. Pointers ? thanks !! marcio
Another solution is to toss those hits into a SQL db. http://www.zope.org/Members/element/Simple_SQL_Page_Counter -e-
participants (4)
-
Andreas Jung -
Ed Colmar -
Marcio Marchini -
oliver.erlewein@sqs.de