docs: def setup_logging(home, verbose):
      """Configure logging for honeycomb."""
      logging.setLoggerClass(MyLogger)
      logging.config.dictConfig({
          "version": 1,
          "disable_existing_loggers": False,
          "formatters": {
              "console": {
                  "format": "%(levelname)-8s [%(asctime)s %(name)s] %(filename)s:%(lineno)s %(funcName)s: %(message)s",
              },
              "json": {
                  "()": jsonlogger.JsonFormatter,
                  "format": "%(levelname)s %(asctime)s %(name)s %(filename)s %(lineno)s %(funcName)s %(message)s",
              },
          },
          "handlers": {
              "default": {
                  "level": "DEBUG" if verbose else "INFO",
                  "class": "logging.StreamHandler",
                  "formatter": "console",
              },
              "file": {
                  "level": "DEBUG",
                  "class": "logging.handlers.WatchedFileHandler",
                  "filename": os.path.join(home, DEBUG_LOG_FILE),
                  "formatter": "json",
              },
          },
          "loggers": {
              "": {
                  "handlers": ["default", "file"],
                  "level": "DEBUG",
                  "propagate": True,
              },
          }
      })