Add function for logging output of check_output