forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify logging in InternalClusterInfoService (elastic#82673)
In [1] we decided that the logging introduced in elastic#66993 was a bit sneaky and not really the pattern we want to follow. We want to hide stack traces for boring network errors but in practice that means `NodeDisconnectedException` and `ReceiveTimeoutTransportException` whose stack traces are already suppressed (see elastic#75671) so really it's fine to log the full exception at `WARN` level in all cases. This commit does that. [1] https://github.com/elastic/elasticsearch/pull/75544/files#r675113968
- Loading branch information
1 parent
0146808
commit 9c992d7
Showing
1 changed file
with
11 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters