Added loggingEnabled