Improve elasticsearch exception log