Login | Register
My pages Projects Community openCollabNet

Discussions > dev > patch: rotating logfiles

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

current
Discussion topic

Back to topic list

patch: rotating logfiles

Reply

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-----
Attachments

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

patch: rotating logfiles jaredgreenwald Jared Greenwald 2007-05-14 08:23:27 PDT
Messages per page: