mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 01:45:28 +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:
1 parent
d4ee8c53b2
commit
da21e39e84
5 files changed
+17
-9
No files matched your search
@@ -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