mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
parent
93e83d0bf9
commit
f6241031f6
@ -26,10 +26,9 @@ def canAppAccessDatabase():
|
|||||||
'flush',
|
'flush',
|
||||||
'loaddata',
|
'loaddata',
|
||||||
'dumpdata',
|
'dumpdata',
|
||||||
'makemirations',
|
'makemigrations',
|
||||||
'migrate',
|
'migrate',
|
||||||
'check',
|
'check',
|
||||||
'mediarestore',
|
|
||||||
'shell',
|
'shell',
|
||||||
'createsuperuser',
|
'createsuperuser',
|
||||||
'wait_for_db',
|
'wait_for_db',
|
||||||
|
@ -97,7 +97,7 @@ DOCKER = _is_true(get_setting(
|
|||||||
# Configure logging settings
|
# Configure logging settings
|
||||||
log_level = get_setting(
|
log_level = get_setting(
|
||||||
'INVENTREE_LOG_LEVEL',
|
'INVENTREE_LOG_LEVEL',
|
||||||
CONFIG.get('log_level', 'DEBUG')
|
CONFIG.get('log_level', 'WARNING')
|
||||||
)
|
)
|
||||||
|
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
Loading…
Reference in New Issue
Block a user