feat: load logging config via env variables for duo workflow service
What does this merge request do and why?
feat: load logging config via env variables
Allows more flexible logging config for local dev
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Set the following env vars to have more flexible log config
DUO_WORKFLOW_LOGGING__LEVEL=DEBUG
DUO_WORKFLOW_LOGGING__JSON_FORMAT=false
# Uncomment the following env var to set log to file
# DUO_WORKFLOW_LOGGING__TO_FILE=./duo_workflow_service/service.log
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.
Edited by Andras Herczeg