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.
Log errors in RestResponse regardless of error_trace parameter (elast…
…ic#101066) Currently we only log exceptions in RestResponse when the request parameter "error_trace" isn't set or set to "false". If the client requests traces in the rest response, we skip the server side logging. In order to improve visibility of those errors in our logs this changes the logging behaviour to only depend on the "rest.exception.stacktrace.skip" which is only used internally. Closes elastic#100884
- Loading branch information
Showing
3 changed files
with
18 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 101066 | ||
summary: Log errors in `RestResponse` regardless of `error_trace` parameter | ||
area: "Infra/Core" | ||
type: enhancement | ||
issues: | ||
- 100884 |
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
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