code: def get_log_level(self):
          
          level_names = {
              logging.DEBUG: 'DEBUG', logging.INFO: 'INFO', logging.WARNING: 'WARNING',
              logging.ERROR: 'ERROR', logging.CRITICAL: 'CRITICAL'
          }
          alignak_logger = logging.getLogger(ALIGNAK_LOGGER_NAME)
  
          res = self.identity()
          res.update({"log_level": alignak_logger.getEffectiveLevel(),
                      "log_level_name": level_names[alignak_logger.getEffectiveLevel()]})
          return res
docs: Get the current daemon log level
  
          Returns an object with the daemon identity and a `log_level` property.
  
          running_id
          :return: current log level
          :rtype: str