2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-02-25 16:17:58 +00:00

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

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