Troubleshooting

This section assumes my-connector project has been generated.

After you start your connectors, you can view their logs for troubleshooting:

 

Log

To display the logs, you’ll need the connector name:

$ cdk deploy log --name my-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

The log levels are:

  • error
  • warn
  • info
  • debug
  • trace

In the next section we’ll take a look at how to use secrets.

 

Steps

  1. Generate a Connector
  2. Build and Test
  3. Start and Shutdown
  4. Troubleshooting
  5. Secrets
  6. Publish to Connector Hub
  7. Use Examples in Github