Re: [Zope] A new event.log every time
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I wrote
Ken Winter wrote:
Is there a way to configure Zope so that, every time it restarts, it deletes its old event.log and creates a new one?
Not without changing the software. The code is in:
lib/python/ZConfig/components/logger/handlers.py
David Bear wrote:
Could this not be done using the startup script?
Sure, assuming you delete / move aside the log file before kicking off Zope. I was answering the question literally, in terms of what is possible in zope.conf. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJGF/E+gerLs4ltQ4RAspiAKCoLgNXdiAaq2smEsCgdCRsYhWwzwCeMvLY zlAgm7oWKOg1fpx4eBJgc34= =CEwy -----END PGP SIGNATURE-----
participants (1)
-
Tres Seaver