Ensure the log directory is available