2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 11:05:41 +00:00

feat: Add setting for controling console logs (#8903)

* Add setting for controling console logs

* respect console_log setting

* use var for defualt handler
This commit is contained in:
Matthias Mair
2025-01-16 23:21:38 +01:00
committed by GitHub
parent 89dfa0f6f9
commit 3d2f800c73
4 changed files with 17 additions and 6 deletions

View File

@ -97,6 +97,7 @@ The following debugging / logging options are available:
| INVENTREE_LOG_LEVEL | log_level | Set level of logging to terminal | WARNING |
| INVENTREE_JSON_LOG | json_log | log as json | False |
| INVENTREE_WRITE_LOG | write_log | Enable writing of log messages to file at config base | False |
| INVENTREE_CONSOLE_LOG | console_log | Enable logging to console | True |
### Debug Mode