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. |