Skip to content

Commit

Permalink
Reduce socket timeout logging from WARN to INFO (#1104)
Browse files Browse the repository at this point in the history
Reduce socket timeout logging from WARN to INFO
  • Loading branch information
carterkozak authored Jan 27, 2021
1 parent 811f1a0 commit 528b1f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-1104.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: improvement
improvement:
description: Reduce socket timeout logging from WARN to INFO
links:
- https://github.com/palantir/dialogue/pull/1104
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ public CloseableClient build() {
private static Timeout getSocketTimeout(ClientConfiguration conf, String clientName) {
long socketTimeoutMillis = conf.readTimeout().toMillis();
if (conf.readTimeout().toMillis() != conf.writeTimeout().toMillis()) {
log.warn(
log.info(
"Read and write timeouts do not match, The value of the readTimeout {} will be used and write "
+ "timeout {} will be ignored. Client: {}",
SafeArg.of("readTimeout", conf.readTimeout()),
Expand Down

0 comments on commit 528b1f0

Please sign in to comment.