You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "smolnar82 (via GitHub)" <gi...@apache.org> on 2026/09/25 12:18:55 UTC
[PR] KNOX-3489: Log request/response when calling remote role lookup server [knox]
smolnar82 opened a new pull request, #1430:
URL: https://github.com/apache/knox/pull/1430
[KNOX-3489](https://issues.apache.org/jira/browse/KNOX-3489) - Log request/response when calling remote role lookup server
## What changes were proposed in this pull request?
`RestApiLdapRolesLookup` now logs the outgoing request (endpoint + body) and the response (status + body) at `DEBUG`, and the response body at `ERROR` on non-200 — previously the error body was discarded, making troubleshooting hard.
## How was this patch tested?
Existing `RestApiLdapRolesLookupTest` passes. Added `@PowerMockIgnore` for XML packages (the new logger initializes XML at class-load, which PowerMock otherwise breaks on JDK 9+).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KNOX-3489: Log request/response when calling remote role lookup server [knox]
Posted by "smolnar82 (via GitHub)" <gi...@apache.org>.
smolnar82 commented on PR #1430:
URL: https://github.com/apache/knox/pull/1430#issuecomment-5832250324
Cc. @handavid
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KNOX-3489: Log request/response when calling remote role lookup server [knox]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #1430:
URL: https://github.com/apache/knox/pull/1430#issuecomment-5832367112
## Test Results
4 files 4 suites 42s ⏱️
127 tests 127 ✅ 0 💤 0 ❌
145 runs 145 ✅ 0 💤 0 ❌
Results for commit c84b6414.
[test-results]:data:application/gzip;base64,H4sIAPtotmoC/12Myw6DIBBFf8Ww7gIIUu3PNDowyaQqDY+V6b8XiaW0u3vOTc7OkBYb2K1Tl46FRLGCSX6K5LYDZeb8xOMT8vqhe0gA/+pBz6x4FTjR8iOs986fxqetNFV/Qk025lss3AQLtz1w60oxA4NBzVoJhThqm5eUkwAzoO1RjGa2wgAHzS17vQGAnULYBAEAAA==
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KNOX-3489: Log request/response when calling remote role lookup server [knox]
Posted by "smolnar82 (via GitHub)" <gi...@apache.org>.
smolnar82 merged PR #1430:
URL: https://github.com/apache/knox/pull/1430
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org