2
0
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:
Matthias Mair
2024-12-26 10:16:53 +01:00
committed by GitHub
parent d4ee8c53b2
commit da21e39e84
5 changed files with 17 additions and 9 deletions

View File

@ -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')

View File

@ -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