<#3049 Add a default logging.yaml when `meltano in...
# meltano-repo-activity
g
#3049 Add a default logging.yaml when `meltano init` is invoked Issue created by MeltyBot Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3121 Originally created by @edgarrmondragon on 2021-12-15 181731 --- Problem to solve Now that structured logs have been added to Meltano by https://gitlab.com/meltano/meltano/-/issues/2772, 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. Where to look for this in the code: meltano/src/meltano/core/bundle/initialize.yml Lines 1 to 2 in</meltano/meltano/commit/0dad7d51a36862e3df7a9f5cf19425540577e5c9|0dad7d5> | meltano.yml: \| | | --------------- | | version: 1 | 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 meltano/meltano