Re: [Zope] create a new log file
Am Montag, 19. September 2005 20:19 schrieb Nuno: 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. depending on your needs, the EventLogManager Product might suit you: http://www.zope.org/Members/mcdonc/Products/EventLogManager Cheers, Sascha ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] create a new log file
Andreas Jung wrote: 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. Well, he may just be fine specifying an additional handler in zope.conf. That said, I'd love to one day have the time to really let zope.conf support multiple log streams like ZConfig does... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] create a new log file
--On 19. September 2005 19:19:38 +0100 Nuno [EMAIL PROTECTED] 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 pgpae8zkrSBUr.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] create a new log file
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. Best Regards Nuno ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )