inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.26k stars 770 forks source link

[FR] Enable struclog/json logging format #3960

Open matmair opened 1 year ago

matmair commented 1 year ago

Please verify that this feature request has NOT been suggested before.

Problem statement

Currently, logs are in plain text. That requires manual settings for log-parsing with the ELK stack or similar products.

Suggested solution

Switch to or give the option to switch to struclog as a format.

Describe alternatives you've considered

Custom settings file - would not encourage that.

Examples of other systems

Authentik, Nextcloud

Do you want to develop this?

matmair commented 1 year ago

References: https://stackoverflow.com/a/56000222/17860466 https://b0uh.github.io/django-json-logging.html