Integrated: 8303682: Simplify HttpClient DebugLogger
Daniel Fuchs
dfuchs at openjdk.org
Wed Mar 8 13:56:35 UTC 2023
On Tue, 7 Mar 2023 10:16:24 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> The HttpClient internal DebugLogger could be simplified if its configuration was held in a record. Some of the methods in Utils that return a debug logger could also be simplified/removed. The system property that configures the debug logging could be extended to choose between System.err, System.out, System.Logger, or any of these configurations.
> Passing -Djdk.internal.httpclient.debug=true still works as before.
This pull request has now been integrated.
Changeset: 56512cfe
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/56512cfe1f0682c98ba3488af3d03ccef632c016
Stats: 728 lines in 10 files changed: 501 ins; 122 del; 105 mod
8303682: Simplify HttpClient DebugLogger
Reviewed-by: jpai
-------------
PR: https://git.openjdk.org/jdk/pull/12900
More information about the net-dev
mailing list