Skip to content

Changes log level of noisy library

This changes the log level of the 3 loggers that are created with the HttpClient class to INFO because they are noisy.

Looks like there are other libraries that this had to be done for as well. Here is a tail of the logs running in my bdh variant in dev listening to production (no HTTP logs):

INE    thread=82       [relay_listener] get upload urls urn:usgs-product:uw:phase-data:uw62007847:1718917091260 (35 ms)
FINE    thread=69       sun.net.www.MessageHeader@21e5c61c6 pairs: {GET /product/phase-data/uw62007847/uw/1718917091260/contents.xml HTTP/1.1: null}{Accept-Encoding: gzip}{User-Agent: Java/17.0.11}{Host: anss-pdl-lp-production-rbucket-1evu59j43busm.s3.us-west-2.amazonaws.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
FINE    thread=82       sun.net.www.MessageHeader@32aad5496 pairs: {GET /product/phase-data/uw62007847/uw/1718917091260/quakeml.xml HTTP/1.1: null}{Accept-Encoding: gzip}{User-Agent: Java/17.0.11}{Host: anss-pdl-lp-production-rbucket-1evu59j43busm.s3.us-west-2.amazonaws.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
FINE    thread=74       [relay_listener] notification id ed754553-9964-51d8-aa48-1bbd0342353f urn:usgs-product:uw:origin:uw62007847:1718917091260
FINE    thread=74       [relay_listener] send product urn:usgs-product:uw:origin:uw62007847:1718917091260 (649 ms)
INFO    thread=74       [relay_listener] send product total urn:usgs-product:uw:origin:uw62007847:1718917091260 (1078 ms)
FINE    thread=82       sun.net.www.MessageHeader@33f5c69a14 pairs: {null: HTTP/1.1 200 OK}{x-amz-id-2: BNMk+IvYAiEumAE7v2iYMmv5HpWZ6riAnTDN2gi/l1f+wTvSRgRMWLEDHh11yNB3fJIsFFXCBSw=}{x-amz-request-id: 9J2G49Q8E9G6EP92}{Date: Thu, 20 Jun 2024 20:58:15 GMT}{Last-Modified: Thu, 20 Jun 2024 20:58:14 GMT}{ETag: "042d2ea22529dd7f49c3ac05932c076f"}{x-amz-server-side-encryption: AES256}{x-amz-meta-sha256: LQ6pOhCzY7+z/SuvVHp+VLNHKQrxuokOvQA9zM0OHAk=}{x-amz-meta-modified: 2024-06-20T20:58:11.000Z}{x-amz-version-id: cIXZSACok4r7KGI9k76QGzjzsAla5JFm}{Accept-Ranges: bytes}{Content-Type: application/xml}{Server: AmazonS3}{Content-Length: 33114}
FINE    thread=69       sun.net.www.MessageHeader@2f223c5014 pairs: {null: HTTP/1.1 200 OK}{x-amz-id-2: sGeqd0S9TRRAu9irbPwGU6jRM/FqsJz48gu8gSK1X8sOSxSbEiNfYQtZ84GsiNqGaFZyKeCl+3I=}{x-amz-request-id: 9J2NPAXFBP7TX62A}{Date: Thu, 20 Jun 2024 20:58:15 GMT}{Last-Modified: Thu, 20 Jun 2024 20:58:14 GMT}{ETag: "d3203d94b36452fe620a853cd0713e4c"}{x-amz-server-side-encryption: AES256}{x-amz-meta-sha256: ABhLiaqdYWmIak24eD/csBAWouBShhatD9bUzLNEZFk=}{x-amz-meta-modified: 2024-06-20T20:58:11.000Z}{x-amz-version-id: pd7wx5udHsqHvX6m2pn9QP.s_0oyUX63}{Accept-Ranges: bytes}{Content-Type: application/xml}{Server: AmazonS3}{Content-Length: 195}
FINE    thread=82       [relay_listener] upload contents urn:usgs-product:uw:phase-data:uw62007847:1718917091260 (206 ms)
FINE    thread=82       [relay_listener] notification id 03ab7821-0932-5696-8588-26cf93143271 urn:usgs-product:uw:phase-data:uw62007847:1718917091260
FINE    thread=82       [relay_listener] send product urn:usgs-product:uw:phase-data:uw62007847:1718917091260 (225 ms)
INFO    thread=82       [relay_listener] send product total urn:usgs-product:uw:phase-data:uw62007847:1718917091260 (466 ms)

@jdbrown @hhunsinger @khaynie @zcloutet

Edited by Hawthorne, Bryan D

Merge request reports

Loading