[Freeipa-devel] [PATCH] 478 better startup error handling

Rob Crittenden rcritten at redhat.com
Fri Jun 25 17:52:52 UTC 2010


This patch will limit the amount of output in the Apache error log by 
default. It should suppress the traceback and just display the 
exception. This is mostly to handle LDAP connection issues during 
startup where we retrieve the schema but it could have other 
implications as well.

I've added a new config file directive, startup_traceback, defaulting to 
False. If you want the full traceback you can add this to 
/etc/ipa/default.conf (or ~/.ipa/default.conf) and get full tracebacks.

In lite-server.py this defaults to True.

I was looking for a way to cause Apache startup to fail if something 
blew up in IPA but I couldn't find anything in mod_wsgi to support that.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-478-traceback.patch
Type: application/mbox
Size: 6470 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100625/57203093/attachment.mbox>


More information about the Freeipa-devel mailing list