https://meltano.com/ logo
#cli
Title
# cli
s

strong-garage-76760

06/11/2022, 7:59 PM
Is there a possibility to revert to the old simple cli logging format? The new structured logging is nice for production use cases, but gets quite overwhelming on local terminals. As an example, I would like it to only show:
Copy code
Tap has custom mapper. Using 1 provided map(s).
In the following message:
Copy code
{'consumer': False, 'producer': True, 'string_id': 'tap-postmark', 'cmd_type': 'elb', 'stdio': 'stderr', 'name': 'tap-postmark', 'event': 'time=2022-06-11 19:55:20 name=tap-postmark level=INFO message=Tap has custom mapper. Using 1 provided map(s).', 'level': 'info', 'timestamp': '2022-06-11T19:55:20.971174Z'}
I couldn't manage to achieve this using a custom
logging.yaml
s

salmon-actor-23953

06/11/2022, 10:43 PM
Would you mind opening an issue for this? I think it makes a lot of sense for us to add easier ways to toggle the default behavior. As you say, the structured logging has many benefits in production (also in log file outputs), but a more concise output is sometimes preferred for basic day to day execution.
s

strong-garage-76760

06/12/2022, 10:15 AM
I created a new issue!
🙌 1
thankyou 2