Change warning to info (#11370)

- Generates a lot of scary logs during update process

Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
Oliver 2026-02-22 19:14:22 +11:00 committed by GitHub
parent 1f04e40083
commit cca35bb268
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -47,9 +47,7 @@ def set_global_setting(key, value, change_user=None, create=True, **kwargs):
from InvenTree.ready import canAppAccessDatabase
if not canAppAccessDatabase(allow_shell=True, allow_test=True):
logger.warning(
f'Cannot set global setting "{key}" - database is not accessible'
)
logger.info(f'Cannot set global setting "{key}" - database is not accessible')
return False
kwargs['change_user'] = change_user