[Zope] create a new log file

Andreas Jung lists at andreas-jung.com
Tue Sep 20 02:37:39 EDT 2005



--On 19. September 2005 19:19:38 +0100 Nuno <rekconk at gmail.com> wrote:

> Hi!
>
> How can I create a new log file, e.g. "mylog.log", this is to log
> specific jobs in a different log file of "event.log".
>

I think you can not reuse the zLOG API of Zope for custom logfiles. You 
need to implement your own logging based on the Python 'logging' module. 
Check the Python documentation for information for details.

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050920/c1609cd3/attachment.bin


More information about the Zope mailing list