diff --git a/rffmpeg b/rffmpeg index 2dd80a2..44359ce 100755 --- a/rffmpeg +++ b/rffmpeg @@ -280,11 +280,16 @@ def get_target_host(config): if retcode != 0: # Mark the host as bad with dbconn(config) as cur: - log.info( + log.warning( "Marking host {} as bad due to retcode {}".format( host["hostname"], retcode ) ) + log.info( + "SSH command was: {}".format( + " ".join(test_ssh_command + test_ffmpeg_command) + ) + ) cur.execute( "INSERT INTO states (host_id, process_id, state) VALUES (?, ?, ?)", (hid, config["current_pid"], "bad"),