GitHub
01/15/2025, 1:55 PM--log-format
Issue created by shachibista
Meltano Version
3.6.0
Python Version
3.11
Bug scope
CLI (options, error messages, logging, etc.)
Operating System
No response
Description
Meltano CLI has no option --log-format even though it is documented.
$ meltano --version
meltano, version 3.6.0
$ meltano --help
Usage: meltano [OPTIONS] COMMAND [ARGS]...
Your CLI for ELT+
Read more at https://docs.meltano.com/reference/command-line-interface
Options:
--log-level [debug|info|warning|error|critical]
--log-config TEXT Path to a python logging yaml config file.
--environment TEXT Meltano environment name.
--no-environment Don't use any environment.
--cwd DIRECTORY Run Meltano as if it had been started in the
specified directory.
--version Show the version and exit.
--help Show this message and exit.
...
$ meltano --log-format=json run tap-github target-postgres
Usage: meltano [OPTIONS] COMMAND [ARGS]...
Try 'meltano --help' for help.
Error: No such option: --log-format
Similarly setting the environment variable MELTANO_CLI_LOG_FORMAT=json has no effect.
Code
Link to Slack/Linen
No response
meltano/meltanoGitHub
01/15/2025, 5:49 PM