{
  "loggers": {
    "my_module": {
      "level": "DEBUG",
      "propagate": false,
      "handlers": [
        "console"
      ]
    }
  },
  "version": 1,
  "disable_existing_loggers": false,
  "handlers": {
    "console": {
      "formatter": "simple",
      "class": "logging.StreamHandler",
      "stream": "ext://sys.stdout",
      "level": "DEBUG"
    },
    "info_file_handler": {
      "formatter": "simple",
      "backupCount": 10,
      "level": "DEBUG", 
      "encoding": "utf8",
      "class": "logging.handlers.RotatingFileHandler",
      "maxBytes": 10485760,
      "filename": "info.log"
    }
  },
  "root": {
    "level": "DEBUG",
    "handlers": [
      "console",
      "info_file_handler"
    ]
  },
  "formatters": {
    "simple": {
      "format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
    }
  }
}
