docs: def configure_logging(args):
      """Logging to console"""
      log_format = logging.Formatter('%(levelname)s:%(name)s:line %(lineno)s:%(message)s')
      log_level = logging.INFO if args.verbose else logging.WARN
      log_level = logging.DEBUG if args.debug else log_level
      console = logging.StreamHandler()
      console.setFormatter(log_format)
      console.setLevel(log_level)
      root_logger = logging.getLogger()
      if len(root_logger.handlers) == 0:
          root_logger.addHandler(console)
      root_logger.setLevel(log_level)
      root_logger.handlers[0].setFormatter(log_format)
      logging.getLogger(__name__)