Skip to content

Conversation

AdrianVasiliu
Copy link
Contributor

@AdrianVasiliu AdrianVasiliu commented May 12, 2024

Description

Resolves #96.


As there are no tests specifically for the logs, the validation of the PR is done manually as follows:

  1. Set the DEBUG level in https://github.com/getindata/flink-http-connector/blob/main/src/test/resources/log4j2-test.properties#L19
  2. mvn clean test -Dtest=JavaNetHttpPollingClientConnectionTest

=> the log contains:

Received status code [201] for RestTableSource request with Server response body [{
  "id": "COUNTER", [...] ]

Without the fix, it is:

Received status code [%s] for RestTableSource request with Server response body [%s]
PR Checklist

@kristoffSC kristoffSC merged commit 7b2451b into getindata:main May 13, 2024
kristoffSC pushed a commit that referenced this pull request May 13, 2024
Co-authored-by: Adrian Vasiliu <[email protected]>
(cherry picked from commit 7b2451b)
@kristoffSC
Copy link
Collaborator

Released in 0.14.0

PeatBoy pushed a commit to hyperpaas/flink-http-connector that referenced this pull request Jan 21, 2025
davidradl pushed a commit to davidradl/flink-http-connector that referenced this pull request Sep 11, 2025
davidradl pushed a commit to davidradl/flink-http-connector that referenced this pull request Sep 11, 2025
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.

Logging code at DEBUG level in JavaNetHttpPollingClient wrongly displays the status code and response body values.
3 participants