code: def sanitize_logger (self):
          
          if not self['output']:
              log.warn(LOG_CHECK, _("activating text logger output."))
              self['output'] = 'text'
          self['logger'] = self.logger_new(self['output'])
docs: Make logger configuration consistent.