[Freeipa-devel] [PATCH] TurboGears logging

Rob Crittenden rcritten at redhat.com
Thu Nov 1 15:56:33 UTC 2007


TurboGears log files and log rotation

The error log is rotated weekly on Sunday. 4 backups are saved.

The access log is not stored since it would be a duplicate of the
Apache logs. It can be enabled if desired.

Had to move the call to daemonize() in ipa-webgui so that the
fork is done before TurboGears is initialized. Otherwise the log
files end up getting closed.

I added a try/except around the forks too.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-344-logs.patch
Type: text/x-patch
Size: 2954 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20071101/45a74f7b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20071101/45a74f7b/attachment-0001.bin>


More information about the Freeipa-devel mailing list