Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDK: add flag to turn on debugging mode #3078

Closed
Tracked by #14511
sherifnada opened this issue Apr 27, 2021 · 1 comment
Closed
Tracked by #14511

CDK: add flag to turn on debugging mode #3078

sherifnada opened this issue Apr 27, 2021 · 1 comment
Assignees
Labels
autoteam CDK Connector Development Kit team/extensibility type/enhancement New feature or request

Comments

@sherifnada
Copy link
Contributor

sherifnada commented Apr 27, 2021

Tell us about the problem you're trying to solve

It would be nice to have a flag --debug which outputs a bunch of extra logs like:

  • what the stream slices are
  • which URL endpoints/params/etc.. are being hit
  • etc. basically various information that can give me visibility about what's happening in the connector

┆Issue is synchronized with this Asana task by Unito

@girarda
Copy link
Contributor

girarda commented Jul 1, 2022

few additional things that would be useful to expose for troubleshooting:

  • raw response (need to make sure the secrets are scrubbed)
  • fully expanded config (for low-code)
  • cursor value

brianjlai added a commit that referenced this issue Jul 13, 2022
…me basic general debug logs (#14521)

* allow for command line debug option and basic debug statements + declarative

* feedback from pr comments

* fix some tests w/ req/res mixed up and fixing logging tests

* formatting

* pr feedback: cleaning up traces in logger.py and update docs with debug configuration

* remove unneeded trace logger test

* remove extra print statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoteam CDK Connector Development Kit team/extensibility type/enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

4 participants