Change locale fallback to info logging

This commit is contained in:
Daniel Markstedt 2022-10-14 19:39:32 -07:00
parent 6514e24770
commit aed793001d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def get_locale():
language = session["language"]
except KeyError:
language = ""
logging.warning("The default locale could not be detected. Falling back to English.")
logging.info("The default locale could not be detected. Falling back to English.")
if language:
return language
# Hardcoded fallback to "en" when the user agent does not send an accept-language header