Open EgorZamotaev opened 10 months ago
I'm sure that we need this feature!
I'm also on board - I need the logs in JSON format for easier handling by our logging analysis tools.
This was asked and answered in #205
You can already customise the logging yourself. See https://docs.python.org/3/howto/logging-cookbook.html for some guidance on how to do this.
You may need to run dramatiq with the --skip-logging
option to avoid dramatiq calling logging.basicConfig(...)
Feature request
Is it possible to add single point of editing logs format or is there any?
Any time I run dramatiq from cli it has preset formatting in LOGFORMAT variable. Is it possible to add an argument specifying the format?