Does the Fivetran Platform Connector Capture Connection Setup Test Logs?
Question
Does the Fivetran Platform Connector capture connection setup test logs?
Environment
Fivetran Platform Connector
Answer
Yes, the Fivetran Platform Connector captures connection setup test logs and stores them in the LOG table's message_data column. To retrieve setup test logs, filter the column for entries containing testName. For example, you can run the following query:
SELECT * FROM LOG WHERE message_data LIKE '%testName%';
For Connector SDK connections, the CONNECTOR_SDK_LOG table stores logs your connector writes during setup tests. SDK versions that support setup-test tagging add the test_name key to messages written through the SDK logger in a setup-test context. Older SDK logs and raw print() output don't include this key, and connector-created threads don't automatically inherit the test context. For more information, see the Connector SDK overview and the CONNECTOR_SDK_LOG table reference. To retrieve tagged setup-test logs, run the following query:
SELECT * FROM CONNECTOR_SDK_LOG WHERE message_data LIKE '%test_name%';