logbook
logbook copied to clipboard
An extensible Java library for HTTP request and response logging
Is it possible to configure Zalando Logbook separately for the **server side** logging (incoming requests) and the **client side** logging (outgoing requests)? I'd like to log only some incoming requests...
### Discussed in https://github.com/zalando/logbook/discussions/1853 Originally posted by **maistrovyi** May 31, 2024 I'm facing with issue: ``` Caused by: java.lang.NegativeArraySizeException: -1 at org.zalando.logbook.httpclient5.LocalRequest$Offering.buffer(LocalRequest.java:85) at org.zalando.logbook.httpclient5.LocalRequest.lambda$getBody$3(LocalRequest.java:244) at org.zalando.fauxpas.ThrowingFunction.apply(ThrowingFunction.java:19) at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210) at org.zalando.logbook.httpclient5.LocalRequest.getBody(LocalRequest.java:243)...
In application/x-www-form-urlencoded, spaces are logged as "+" instead of " ". And it is forcibly decoded. I don't see any source code or settings to change this. logbook: filter: form-request-mode:...
Support internal jdk how to integrate Logbook with java.net.http.HttpClient.
I would like to have the ability to customize logger name. ## Detailed Description ## Context For example, I have 2 outgoing intergrations and 2 feign clients: FeignClientA, FeignClientB. In...
Issue Description I am encountering the error No suitable driver found for 08001/0 when I add the following dependency in Maven: ``` org.zalando logbook-spring-boot-starter 3.7.2 ``` minimum maven dependencies for...
## Description I am trying to use logbook for logging http requests and response in a gateway module, in such a way, that the gateway logs the incoming requests from...
## Description ## Motivation and Context Add support for Jackson 3 as part of the migration to Spring Boot 4. This change makes Jackson 3 as the primary JSON parsing...
## Description This pull request completes the Spring Boot 4 and Spring 7 migration for the Logbook project, bringing the entire codebase to the latest Spring ecosystem versions. This is...
## Description In Spring Boot v4, `org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration` has moved to `org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration`. The logbook starter uses the old fully-qualified name in [LogbookAutoConfiguration.java](https://github.com/zalando/logbook/blob/f434a7e22993cf18f119dc87100051337f2e3e4b/logbook-spring-boot-autoconfigure/src/main/java/org/zalando/logbook/autoconfigure/LogbookAutoConfiguration.java#L18) which causes a `ClassNotFoundException` at startup in a Spring...