Skip to content

HTTP-96 Fix logging code in JavaNetHttpPollingClient #97

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 13, 2024

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
3 checks passed
kristoffSC pushed a commit that referenced this pull request May 13, 2024
Co-authored-by: Adrian Vasiliu <vasiliu@fr.ibm.com>
(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
Co-authored-by: Adrian Vasiliu <vasiliu@fr.ibm.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
3 participants