log_cfg.json 660 Bytes
Newer Older
wx002's avatar
wx002 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
{
      "version": 1,
      "formatters": {
          "detailed": {
              "format": "%(asctime)s %(name)-20s %(levelname)-8s %(message)s"
          },
          "simple": {
              "format": "%(levelname)s %(message)s"
          }
      },
      "handlers": {
          "console": {
              "class": "logging.StreamHandler",
              "formatter": "detailed"
          }
      },
      "loggers": {
          "algs": {
              "level": "DEBUG"
          },
          "algs.udp_wrapper": {
              "level": "WARN"
          }
      },
      "root": {
          "handlers": ["console"],
          "level": "DEBUG"
      }
  }