Fixed if statement so windows == C:\\tmp\log instead of windows== /tmp/log.