parameters: (level, update_existing=True)
return_statement: return origin_level
docstring: r"""Sets default logging level.
  
      Args:
          level: loggin level given by python :mod:`logging` module
          update_existing: whether to update existing loggers
docstring_summary: r"""Sets default logging level.
docstring_tokens: r Sets default logging level .
function: def set_log_level(level, update_existing=True):
      r"""Sets default logging level.
  
      Args:
          level: loggin level given by python :mod:`logging` module
          update_existing: whether to update existing loggers
      """
      global _default_level  # pylint: disable=global-statement
      origin_level = _default_level
      _default_level = level
      if update_existing:
          for i in _all_loggers:
              i.setLevel(level)
      return origin_level
function_tokens: def set_log_level ( level , update_existing = True ) : global _default_level # pylint: disable=global-statement origin_level = _default_level _default_level = level if update_existing : for i in _all_loggers : i . setLevel ( level ) return origin_level