Fix the logging for jenkins check