Re-add remove if statement
Re-add remove if statement

Add again test to insure log is not suspend and tempfile log is open

Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol