abhiramaab opened a new pull request, #8343:
URL: https://github.com/apache/hop/pull/8343

   Fixes #8340
   
   ### Problem
   
   During background notification polling (`[hop-notifications]` thread), 
Apache HttpClient 5's internal `org.apache.hc.client5.http.wire` logger prints 
raw network bytes to the console and log files at `DEBUG` level, flooding the 
output with byte dumps.
   
   ### Solution
   
   - Set the `org.apache.hc.client5.http.wire` logger level to `Level.INFO` in 
`NotificationHttp`.
   - Retain a strong reference to the logger in a `static final Logger 
WIRE_LOGGER` field to prevent `java.util.logging.LogManager` from 
garbage-collecting the configured logger.
   - Added `testWireLoggingIsSuppressed()` to `NotificationHttpTest` to verify 
that wire logging remains suppressed.
   
   ### Testing
   
   - `mvn test -pl :hop-ui -Dtest=NotificationHttpTest` — all 11 tests passed.
   - `mvn checkstyle:check -pl :hop-ui` — 0 Checkstyle violations.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to