removed doLogging