----- Original Message ----- 
From: "Bert Vanderbauwhede" <batlock...@gmail.com>
To: <zope@zope.org>
Sent: Friday, October 16, 2009 8:07 AM
Subject: [Zope] Prevent a logger from writing to event.log

> Hi,
> Is it possible to have a logger in Zope that doesn't write to the
> event.log?  All the other loggers can write to the event.log, but just 
> this
> one logger should not.

You can easily build your own:  we use an external method that any routine 
can call to log an event.  In one use case we log user actions/activity and 
the log file is actually a MySQL database (we do this so that we can 
retrieve, in real-time, previous user actions which we then use to customize 
what is presented to the user).

The advantage of "rolling your own" is that you can log whatever you want, 
in whatever format you need, whenever/wherever you need it.


Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to