056ae31 repoclosure: Fix logging errors

Authored and Committed by lsedlar 6 years ago
    repoclosure: Fix logging errors
    
    Instead of just printing the error directly to stderr, capture the
    output and use proper logger. This makes sure the error is included in
    the log file and also fixes `--quiet` option which was not properly
    honored originally.
    
    Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
    
        
file modified
+11 -7