Re: [Zope-dev] logrotation/logreopening in ZTK-based applications

2010-11-29 Thread Chris Withers
On 10/11/2010 14:23, Christian Theune wrote: 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. I just use logrotate's copytruncate option :-) Chris -- Simplistix - Content

Re: [Zope-dev] logrotation/logreopening in ZTK-based applications

2010-11-11 Thread Fred Drake
On Wed, Nov 10, 2010 at 8:23 AM, I said: There's a package called zc.signalhandler in the Zope Corporation repository that I'll be open-sourcing. This is now available on svn.zope.org. The tests pass with Python 2.4, 2.5, 2.6, and 2.7. I've added a brief README.txt to show how it's used;

Re: [Zope-dev] logrotation/logreopening in ZTK-based applications

2010-11-11 Thread Christian Theune
On 11/12/2010 06:22 AM, Fred Drake wrote: On Wed, Nov 10, 2010 at 8:23 AM, I said: There's a package called zc.signalhandler in the Zope Corporation repository that I'll be open-sourcing. This is now available on svn.zope.org. The tests pass with Python 2.4, 2.5, 2.6, and 2.7. I've added

Re: [Zope-dev] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Fred Drake
On Wed, Nov 10, 2010 at 2:47 AM, Christian Theune c...@gocept.com wrote: We have a ZTK-based app and found that the server provides neither signal handling to rotate logs nor a zopectl command. Does anybody remember wether this was ever built? Christian, If you want size- or time-based

Re: [Zope-dev] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Adam GROSZER
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

Re: [Zope-dev] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Christian Theune
On 11/10/2010 02:23 PM, Fred Drake wrote: On Wed, Nov 10, 2010 at 2:47 AM, Christian Theunec...@gocept.com wrote: We have a ZTK-based app and found that the server provides neither signal handling to rotate logs nor a zopectl command. Does anybody remember wether this was ever built?

Re: [Zope-dev] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Christian Theune
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