c002864 dnssec daemons: read the dns context config file for debug state

5 files Authored by rcritten 2 years ago, Committed by frenaud 2 years ago,
    dnssec daemons: read the dns context config file for debug state
    
    This had been hardcoded to debug=True but it spams the logs
    with a lot of unnecessary information.
    
    Allow it to be enabled for troubleshooting purposes but keep it
    disabled by default.
    
    Enabling debug would involve created /etc/ipa/dns.conf:
    
    [global]
    debug = True
    
    I didn't add a more generic mechanism because for now we only need
    the value of debug and it introduces a lot of type conversion
    headaches. ipalib handles this automatically but to duplicate this
    would be corner-case city.
    
    Fixes: https://pagure.io/freeipa/issue/9128
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
    
        
file modified
+10 -2
file modified
+39 -0