Changed the log level to self.log.DEBUG, passing DEBUG from the config file is not right. Need to make other changes