elastic/elasticsearch

Add X-Opaque-Id to root level application.log

Open

#51,451 opened on Jan 24, 2020

View on GitHub
 (4 comments) (1 reaction) (0 assignees)Java (76,700 stars) (25,882 forks)batch import
:Core/Infra/LoggingTeam:Core/Infrahelp wantedtriaged

Description

In #31521 X-Opaque-Id was added to access logs and slow logs. It would be very useful for investigation if whenever Elasticsearch throws an exception, X-Opaque-Id is appended to the exception log which locates at root level application.log.

Contributor guide