Login | Register
My pages Projects Community openCollabNet

Discussions > dev > patch: rotating logfiles > Reply to message

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author jaredgreenwald
Full name Jared Greenwald
Date 2007-05-14 08:23:27 PDT
Message -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Another patch improvement we implemented was rotating logfile support.
We're using size-based rotation, with a 500M file size limit. With the
logging levels turned up you can really start racking up lines in the
log pretty fast. For us, since we're running this on Enterprise Linux 4
(a RHEL4 clone) which only has python2.3, we were limited to file size
rotation. We found it preferable to use date-based rotation, but that's
not available till python2.4, so you could just adjust the code accordingly.

- -Jared
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSH7vu4z7Xptg​TUYRAvztAJ9XQAkvtKCD​+QLzHZmESopBZN1BkwCf​Qen0
/upX5+b/mTkE19XEbDKnhJQ=
=L2WB
-----END PGP SIGNATURE-----