249f7eb Fix issue of double logging in ipa_error.log.

Authored and Committed by rcritten 15 years ago
    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.