tournesol-app / tournesol

Free and open source code of the https://tournesol.app platform. Meet the community on Discord https://discord.gg/WvcSG55Bf3
https://tournesol.app
Other
331 stars 48 forks source link

[back] fix: read default log level from server settings if it's present #2021

Closed amatissart closed 1 month ago

amatissart commented 1 month ago

Description

The value DJANGO_LOG_LEVEL configured on the server was ignored.

After the change, it's still possible to use the environment variable DJANGO_LOG_LEVEL to override the settings if necessary. The default level is also modified from "DEBUG" to "INFO".

Checklist