Add a default logging.yaml when `meltano init` is invoked
Problem to solve
Now that structured logs have been added to Meltano by #2772 (closed), it'd be good if new Meltano projects were initialized with a logging.yaml containing some good defaults.
Target audience
Users starting fresh new Meltano projects.
Further details
- Logging configuration is present from the start
- Users are aware of configurable logging by virtue of the file being present
Proposal
The initial logging.yaml should probably have both the option for colored logs during development, and JSON logs for production scenarios.
The file should probably include a header with some instructions, links, etc.
What does success look like, and how can we measure that?
Users start using and configuring structured logging in their Meltano projects. This increased use should bring more contributions as bug reports and feature proposals.
Regression test
(Ensure the feature doesn't cause any regressions)
-
Write adequate test cases and submit test results -
Test results should be reviewed by a person from the team
Links / references
Please note that this was taken from GitLab, to be changed accordingly