FAForever / server

The servercode for the Forged Alliance Forever lobby
http://www.faforever.com
GNU General Public License v3.0
66 stars 61 forks source link

Issue/#914 configuration refresh #915

Closed Askaholic closed 2 years ago

Askaholic commented 2 years ago

Refreshes the config before attempting to use it

Closes #914

Askaholic commented 2 years ago

Oh, I see. It's only happening because the pipenv script uses the command line parameter to set the config file. Turns out this means that in the docker container the first time the file is loaded, the changed values aren't logged since the refresh happens at import time which is before the log level is actually configured to be INFO or lower. I supposed this is a good thing since it means our database secrets and stuff are not printed to the log, but it's only by accident.