Troubleshooting
This section assumes my-connector
project has been generated.
After you start your connectors, you can view their logs for troubleshooting:
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" }
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.