Separate fully logging for requests and responses
Open
Nobody has claimed this yet.
proposal
waiting for votes
- Dominant language
- Java
- Stars
- 9.8k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 41
Description
I have M2M service that makes small requests and receives huge responses. I need to fully log requests and only headers for responses.
For example:
[SendsStuff#login] ---> POST http://localhost:8080/ HTTP/1.1
[SendsStuff#login] Content-Length: 80
[SendsStuff#login] Content-Type: application/json
[SendsStuff#login]
[SendsStuff#login] {"customer_name": "netflix", "user_name": denominator", "password": "password"}
[SendsStuff#login] ---> END HTTP (80-byte body)
[SendsStuff#login] <--- HTTP/1.1 200 OK ([0-9]+ms)
[SendsStuff#login] content-length: 3
[SendsStuff#login] <--- END HTTP (3-byte body)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Feign's request and response logging behavior and compare it with the examples in the issue. Done means callers can fully log request bodies while logging only response headers and metadata, without logging large response bodies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100