Is there any way to select which <logging formatte...
# troubleshooting
s
Is there any way to select which logging formatter we want to use from the command line? I have set up a
logging.yaml
file. I want color when I’m running meltano manually from the command line, but I want to disable color when running in production. Seems silly to create a
prod_logging.yaml
file that only differs by a single field.
a
@florian.hines just added a logging and monitoring guide. Is this helpful for your use case? Logging and Monitoring (meltano.com) (Feedback welcome!)
f
@sterling_paramore unfortunately not yet - we do have https://github.com/meltano/meltano/issues/3002 logged for that though.
s
Ok thanks. Looks like I do need separate logging yaml files for different environments
f
@sterling_paramore yea sorry, at least for a bit longer.
e
f
A thats a good call, because theres probably some click generated output thats colorized too.
(so just changing the log format alone might not cover all output)