Reuben (Matatika)
05/22/2025, 3:34 PMTAP_<NAME>_LOG_LEVEL=ERROR
should work, but doesn't...Edgar Ramírez (Arch.dev)
05/22/2025, 3:37 PMTAP_<NAME>_LOGLEVEL=ERROR
I believeReuben (Matatika)
05/22/2025, 3:38 PMEdgar Ramírez (Arch.dev)
05/22/2025, 3:40 PM$ TAP_GEEKBOT_LOGLEVEL=warning poetry run tap-geekbot
2025-05-22 09:39:33,461 | ERROR | tap-geekbot | Config validation error: 'api_key' is a required property
$ TAP_GEEKBOT_LOGLEVEL=debug poetry run tap-geekbot
2025-05-22 09:39:52,537 | DEBUG | tap-geekbot | Validating config using jsonschema: {'type': 'object', 'properties': ...
2025-05-22 09:39:52,537 | ERROR | tap-geekbot | Config validation error: 'api_key' is a required property
Reuben (Matatika)
05/22/2025, 3:46 PMsinger_sdk
. Perhaps LOGLEVEL=error
will work...Reuben (Matatika)
05/22/2025, 3:49 PMsinger_sdk.metrics
INFO
logs - everything else WARNING
or above.Edgar Ramírez (Arch.dev)
05/22/2025, 3:49 PM<plugin_name>
logger: https://github.com/meltano/sdk/blob/8adf45277b07c13071af875bc0c9e9419766908d/singer_sdk/plugin_base.py#L144-L152Reuben (Matatika)
05/22/2025, 3:49 PMReuben (Matatika)
05/22/2025, 3:51 PMReuben (Matatika)
05/22/2025, 3:52 PMEdgar Ramírez (Arch.dev)
05/22/2025, 3:53 PMBut I do think that `TAP_<NAME>_LOGLEVEL`/`LOGLEVEL` should control the SDK log level also.Yeah, I agree.
Although, having written my requirement out I don't think it is actually as simple as setting all loggers to the given log level.You probably want a logging config file: https://sdk.meltano.com/en/v0.46.3/implementation/logging.html#custom-logging-configuration
Reuben (Matatika)
05/22/2025, 4:00 PMReuben (Matatika)
05/22/2025, 4:07 PM