finished EnableLogging checking