heliumdatacommons / auth_microservice

Microservice which abstracts out OAuth2/OpenID exchanges and token management from applications
4 stars 5 forks source link

Move log calls out of root logger #31

Open theferrit32 opened 5 years ago

theferrit32 commented 5 years ago

Lines in log file do not contain the name of the module they originated from.

Adding a getLogger(__name__) to each module file will fix this. The important thing is to make sure these module loggers inherit the settings from the root logger configured in settings.py