b597086 control logging of host_port_open from caller

2 files Authored by pvoborni 6 years ago, Committed by tkrizek 6 years ago,
    control logging of host_port_open from caller
    
    host_port_open copied logging behavior of ipa-replica-conncheck utility
    which doesn't make it much reusable.
    
    Now log level can be controlled from caller so other callers might use
    other logging level without host_port_open guessing what was the
    intention.
    
    https://pagure.io/freeipa/issue/7083
    
    Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
    
        
file modified
+6 -11