Skip to content

Conversation

@orf
Copy link

@orf orf commented Nov 12, 2024

First: this is a fantastic library, thank you! <3

One issue we've run into is that the logs are quite verbose. This MR makes the (very useful) sending/receiving debug! calls add fields with the method, status, uri, status and content length.

This enables one to set a logging directive like rustify::client[{success=false}]=debug to log all unsuccessful requests to the console, whilst skipping successful ones.

I also moved some verbose executing endpoint debug! calls to be trace! instead.

@orf orf force-pushed the tracing branch 8 times, most recently from a336766 to f6ddf0e Compare November 13, 2024 14:31
@stormshield-gt
Copy link
Collaborator

You can rebase on master, #24 should have fix the CI

@orf
Copy link
Author

orf commented Dec 13, 2024

Done!

@stormshield-gt
Copy link
Collaborator

Thanks for your contribution!

@stormshield-gt stormshield-gt merged commit 1ed432d into jmgilman:master Dec 13, 2024
5 checks passed
@orf
Copy link
Author

orf commented Dec 13, 2024

No, thank you for accepting it and your work on this library! ❤️

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.

2 participants