mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
Turn off debug by default (#8743)
* turn off debug by default * fix log level / debug settings for workflows * fix typo
This commit is contained in:
@ -77,7 +77,7 @@ if version_file.exists():
|
||||
|
||||
# Default action is to run the system in Debug mode
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = get_boolean_setting('INVENTREE_DEBUG', 'debug', True)
|
||||
DEBUG = get_boolean_setting('INVENTREE_DEBUG', 'debug', False)
|
||||
|
||||
# Configure logging settings
|
||||
LOG_LEVEL = get_setting('INVENTREE_LOG_LEVEL', 'log_level', 'WARNING')
|
||||
|
@ -26,7 +26,7 @@ database:
|
||||
# PORT: Database host port (if required)
|
||||
|
||||
# Set debug to False to run in production mode, or use the environment variable INVENTREE_DEBUG
|
||||
debug: True
|
||||
debug: False
|
||||
|
||||
# Additional debug options
|
||||
debug_querycount: False
|
||||
|
Reference in New Issue
Block a user