Logbook does not log URI with DiscoveryClient.
Opened this issue · 0 comments
VladislavBakshanskij commented
Logbook does not log URI with DiscoveryClient.
Description
We use DiscoveryClient to implement Client-Side with spring cloud loadbalancer. As a result, Logbook logs the service name, not the URI that the request actually went to.
Example repository: https://github.com/VladislavBakshanskij/logbook-service-logging
Expected behavior
Logbook logs the URI that the request went to, not the service name
Actual behavior
Logbook logs the service name
Steps to reproduce
- Clone repository https://github.com/VladislavBakshanskij/logbook-service-logging
- Run the application in IDEA
- Open the page:
- Check the logs
Context
When balancing on the client side, this makes it difficult to analyze incidents
Your environment
- Version used: 3.9.0
- Spring boot: 3.3.4
- Link to your project: https://github.com/VladislavBakshanskij/logbook-service-logging