[Freeipa-devel] [PATCH] fix ipa_webgui logging

Rob Crittenden rcritten at redhat.com
Wed Jun 4 02:38:32 UTC 2008


Nathan Kinder wrote:
> Rob Crittenden wrote:
>> Fix issue of double logging in ipa_error.log.
>>
>> We open the log in ipa_webgui and this was being inherited by TurboGears
>> which uses the same log so everything was getting logged twice. Shut down
>> the log in ipa_webgui at the last possible moment. This will not catch
>> configuration errors.
>>
>> Add a Not Found template.
>>
>> Only print a traceback on 500 errors.
> ack.  Is there still some easy way to troubleshoot config errors if they 
> are not logged?
>>
>> rob
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
> 

If run in debug mode (-d) then the log won't be shut down and config 
errors will show.

rob
-------------- 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/20080603/356e8ef1/attachment.bin>


More information about the Freeipa-devel mailing list