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

fix: disable proxy debug log by default #2628

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

TBonnin
Copy link
Collaborator

@TBonnin TBonnin commented Aug 21, 2024

Proxy requests have debug logs showing by default. This PR is hiding the proxy debug logs which are not very useful unless debugging
Passing the header Debug: true to /proxy would enabled the debug logs

Without debug header:
Screenshot 2024-08-21 at 16 41 41

With Debug: true header (like before):
Screenshot 2024-08-21 at 16 42 12

Issue ticket number and link

Part of https://linear.app/nango/issue/NAN-1526/improve-proxy-logs

Checklist before requesting a review (skip if just adding/editing APIs & templates)

  • I added tests, otherwise the reason is:
  • I added observability, otherwise the reason is:
  • I added analytics, otherwise the reason is:

Copy link

linear bot commented Aug 21, 2024

@TBonnin TBonnin enabled auto-merge (squash) August 22, 2024 08:04
Pass the header `Debug: true` to /proxy to enable the debug logs
@TBonnin TBonnin merged commit 38a85b2 into master Aug 22, 2024
22 checks passed
@TBonnin TBonnin deleted the tbonnin/proxy-log-debug branch August 22, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants