Reduce verbosity of logged errors on es_rejected_execution_exception

Description

When we get an exception like es_rejected_execution_exception we should avoid dumping the whole request on the log; this is particularly important on rekected executions as you will likely produce many of them in sequence, and making the message different defeats the capability of most logging systems to avoid flooding of repeated errors.

Maybe we should avoid this by default on any such error? We could opt to control the verbosity based on the logging level.

Environment

None

Activity

Show:
Yoann Rodière
August 18, 2017, 7:27 AM

Related:

Yoann Rodière
September 21, 2017, 3:42 PM

Unless I'm mistaken, my work on to reduce the verbosity of exceptions in case of request failure covers this. Can we close this?

Sanne Grinovero
September 21, 2017, 4:10 PM

Yes! Thank I'll link them and close.

Assignee

Unassigned

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Affects versions

Priority

Major
Configure