Flask-LogConfig: Release v0.3.0

Flask-LogConfig v0.3.0 has been released.

It was a feature release with backwards incompatible changes. A major new feature added was the ability to log all requests. The biggest breaking change was renaming the config key prefix from LOGGING* to LOGCONFIG*.

What is Flask-LogConfig?

Flask-LogConfig is a Flask extension that easily configures application logging. Under the hood it uses logconfig to support loading configurations from a dict, json file, yaml file, or a config parser file. It also supports converting any synchronous log handler into an asynchronous one using threads.

It is Python 2.6+ and 3.3+ compatible.

Download

Get it on Github and PyPI.

Changes

Features

  • Add support for logging all requests.
  • Don't store any application specific state on LogConfig class. Move LogConfig.listeners access to LogConfig.get_listeners. (breaking change)
  • Make LogConfig.__init__ and LogConfig.init_app accept custom queue class via queue_class argument.
  • Make LogConfig.start_listeners() and LogConfig.stop_listeners() accept optional app argument to access listeners associated with that app. If no app passed in, then flask.current_app will be accessed.
  • Rename supported configuration keys from LOGGING and LOGGING_QUEUE``to ``LOGCONFIG and LOGCONFIG_QUEUE respectively. (breaking change)

Bug Fixes

None

Comments

Comments powered by Disqus