Only add logs directory if it doesn't exist.