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

2010-07-12 Thread Rob Crittenden

Adam Young wrote:

On 06/25/2010 01:52 PM, Rob Crittenden wrote:
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


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Ack



pushed to master

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


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

2010-07-09 Thread Adam Young

On 06/25/2010 01:52 PM, Rob Crittenden wrote:
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


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Ack
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel