Correct LOG_DIR and LOG_FILE check/creation