agdsn / hades

AG DSN Authentication and Authorization Infrastructure
MIT License
8 stars 3 forks source link

Improve logging setup #11

Closed sebschrader closed 7 years ago

sebschrader commented 8 years ago

Right now the logging setup is quite hacky. During the first hades package import an INI file logging config is loaded. Frameworks like Flask or Celery setup their own logging and therefore replace the previous config.

The logging setup should probably be moved into a setup function and framework-depended setup should be used. The INI file could be replaced by a default dict configuration and an config option to optional load an INI file.