List Info

Thread: patch: rotating logfiles




patch: rotating logfiles
user name
2007-05-14 10:23:27
-----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


iD8DBQFGSH7vu4z7XptgTUYRAvztAJ9XQAkvtKCD+QLzHZmESopBZN1BkwCf
Qen0
/upX5+b/mTkE19XEbDKnhJQ=
=L2WB
-----END PGP SIGNATURE-----

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribecurrent.tigris.org
For additional commands, e-mail: dev-helpcurrent.tigris.org
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )