Ugh, I *hated* this too until I found a template. Here’s a barebones JSON config that works for me:
```json
{
"version": 1,
"formatters": {
"simple": {
"format": "%(levelname)s: %(message)s"
}
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"formatter": "simple"
}
},
"root": {
"handlers": ["console"],
"level": "INFO"
}
}
```
Save it as `log_config.json` and load it like the other reply said.
Pro tip: Use `"level": "WARNING"` if you *really* wanna cut the noise.
```json
{
"version": 1,
"formatters": {
"simple": {
"format": "%(levelname)s: %(message)s"
}
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"formatter": "simple"
}
},
"root": {
"handlers": ["console"],
"level": "INFO"
}
}
```
Save it as `log_config.json` and load it like the other reply said.
Pro tip: Use `"level": "WARNING"` if you *really* wanna cut the noise.
