On 11/10/2010 03:21 PM, Adam GROSZER wrote:
> Hello Christian,
> Wednesday, November 10, 2010, 8:47:43 AM, you wrote:
> CT> Hi,
> CT> Zope 2 provides a command to ask it to re-open its log files thus
> CT> supporting outside logrotation.
> CT> We have a ZTK-based app and found that the server provides neither
> CT> signal handling to rotate logs nor a zopectl command. Does anybody
> CT> remember wether this was ever built?
> CT> I see an old discussion on the Python list
> CT> (http://mail.python.org/pipermail/python-dev/2006-January/059566.html)
> CT> but no conclusion.
> CT> If this isn't in yet, does anybody know what the right place would be?
> CT> (I guess the packages providing the main loops and configuring the
> CT> process would be the right ones.)
> I think ZTK should have a configurable log rotation built-in.
> path log.log
> formatter zope.exceptions.log.Formatter
> max-size 50MB
> old-files 5
I'd like to keep this out of the server: rotation is a system
administration task where I'd like to rely on the policies and tools
provided by the system environment.
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -