{
  "version": 1,
  "disable_existing_loggers": false,
  "formatters": {
    "simple": {
      "format": "%(asctime)s %(levelname)8s [%(name)s] %(message)s"
    }
  },
  "handlers": {
    "console_info": {
      "class": "logging.StreamHandler",
      "formatter": "simple",
      "level": "INFO",
      "stream": "ext://sys.stderr"
    },
    "file_debug": {
      "class": "logging.handlers.RotatingFileHandler",
      "level": "DEBUG",
      "formatter": "simple",
      "filename": "log/fewerror.log",
      "maxBytes": 1048576,
      "backupCount": 7
    }
  },
  "root": {
    "level": "DEBUG",
    "handlers": ["file_debug"],
    "_handlers": ["console_info", "file_debug"]
  }
}

{
  "version": 1,
  "disable_existing_loggers": false,
  "formatters": {
    "simple": {
      "format": "%(asctime)s %(levelname)8s [%(name)s] %(message)s"
    }
  },
  "handlers": {
    "console_info": {
      "class": "logging.StreamHandler",
      "formatter": "simple",
      "level": "INFO",
      "stream": "ext://sys.stderr"
    },
    "file_debug": {
      "class": "logging.handlers.RotatingFileHandler",
      "level": "DEBUG",
      "formatter": "simple",
      "filename": "log/debug.log",
      "maxBytes": 1048576,
      "backupCount": 7
    },
    "file_info": {
      "class": "logging.handlers.RotatingFileHandler",
      "level": "INFO",
      "formatter": "simple",
      "filename": "log/fewerror.log",
      "maxBytes": 1048576,
      "backupCount": 7
    }
  },
  "root": {
    "level": "DEBUG",
    "handlers": ["file_debug", "file_info"],
    "_handlers": ["console_info", "file_debug"]
  }
}

Split DEBUG and INFO logging
Split DEBUG and INFO logging
