https://github.com/gradedjestrisk/logging-webclient
Logging outgoing HTTP call from SpringWeb
https://github.com/gradedjestrisk/logging-webclient
logback spring
Last synced: 3 months ago
JSON representation
Logging outgoing HTTP call from SpringWeb
- Host: GitHub
- URL: https://github.com/gradedjestrisk/logging-webclient
- Owner: GradedJestRisk
- Created: 2025-04-03T11:09:00.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-04-03T11:20:55.000Z (6 months ago)
- Last Synced: 2025-04-09T18:54:06.222Z (6 months ago)
- Topics: logback, spring
- Language: Java
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Logging
This application make :
- a HTTP `GET` call;
- to `https://httpbin.org/` baseURL;
- on `/get` resource;
- with headers.It logs URL and headers to standard output.
```shell
./gradlew bootRun
```You'll get
```text
TRACE o.s.w.r.f.client.ExchangeFunctions - [26425897] HTTP GET https://httpbin.org/get, headers=[Accept:"application/json", my-header:"value"]
```[Documentation](https://github.com/GradedJestRisk/java-training/wiki/Web#log-calls)