List & Logs
Prerequisites

This section assumes that CDK is installed and my-connector project has been generated.

After you start your connectors, you can review the list of all connectors, and view their logs with these commands

 

List

$ cdk deploy list
 NAME                            STATUS
 my-my-connector-test-connector  Running
 

Log

$ cdk deploy log --name my-connector-test-connector
Starting my-connector source connector with CustomConfig { foo: "bar" }
 

Changing the Log Level

By default connectors will use the info logging level, you can change the log level by using the deploy command argument --log-level.

cdk deploy start --config sample-config.yaml --log-level debug

Available values include:

  • error
  • warn
  • info
  • debug
  • trace
 

Steps

  1. Install CDK
  2. Generate a SmartConnector
  3. Build and Test
  4. Start and Shutdown
  5. List and Logs
  6. Publish to SmartConnector Hub