[Zope] Zope and Log File Analysis
lists at zopyx.com
Thu Oct 19 06:38:01 EDT 2006
--On 19. Oktober 2006 12:34:28 +0200 Sascha Ottolski
<sascha.ottolski at lalisio.com> wrote:
> Am Mittwoch, 18. Oktober 2006 22:03 schrieb Doyon, Jean-Francois:
>> The big problem I have is determining "file types" without having
>> "file extensions", since many objects are name with a simple id that
>> doesn't contain a typical file extension.
>> This makes it supremely difficult to determine viewing statistics
>> based on content type for example ... Or determining what should be
>> concidered a "page view", and so on.
> one not so elegant solution to log real page views only: create your own
> logger, and call it somewhere in you master template (probably close to
> the end of it so logging doesn't happen if there was an exception
> before that point).
The elegant solution is to run Apache in front of Zope as reverse proxy and
using Apaches CustomLog/Logformat option. The %...o option allows you to
log any HTTP header.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20061019/1c69bf5c/attachment.bin
More information about the Zope