Hi all! is there any way to specify different hand...
# troubleshooting
o
Hi all! is there any way to specify different handlers depending on environment for "logging.yml" file? so locally I can see colored logging but in production I use json formatter? Thank you!
e
You could have multiple logging config files. For example, in my dogfood project I have
logging/ci.yaml
and
logging/dev.yaml
and I toggle them with the
MELTANO_CLI_LOG_CONFIG
env var. https://github.com/edgarrmondragon/meltano-dogfood/tree/7a9e7c30d11b03bb86a9e5541b24869b4fffa269/logging
o
Awesome Edgar, thanks a lot.