diff --git a/docs/logging.rst b/docs/logging.rst index cb93bfb6b..8745fc1b6 100644 --- a/docs/logging.rst +++ b/docs/logging.rst @@ -60,7 +60,6 @@ More advanced setups are possible with the :mod:`logging` module. The example be maxBytes=32 * 1024 * 1024, # 32 MiB backupCount=5, # Rotate through 5 files ) - formatter = logging.Formatter() dt_fmt = '%Y-%m-%d %H:%M:%S' formatter = logging.Formatter('[{asctime}] [{levelname:<8}] {name}: {message}', dt_fmt, style='{') handler.setFormatter(formatter)