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

Add an ability to verbosely logs all traffic via an environmental variable #834

Open
Shaptic opened this issue May 23, 2023 · 0 comments
Open

Comments

@Shaptic
Copy link
Contributor

Shaptic commented May 23, 2023

Is your feature request related to a problem? Please describe.
It can be difficult to debug and root-cause problems in certain environments in which you have less control or access to source code (e.g. containers).

Describe the solution you'd like
Given the presence of an environmental variable, e.g. STELLAR_SDK_VERBOSE=1, all requests and responses should be logged.

Describe alternatives you've considered
This is achievable by modifying the HorizonAxiosClient and adding an interceptor (axios docs), but it is not as convenient as a built-in option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants
@Shaptic and others