IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Logging
editLogging
editWhilst developing with Elasticsearch using NEST, it can be extremely valuable to see the requests that NEST generates and sends to Elasticsearch, as well as the responses returned.
There are a couple of popular ways of capturing this information
More detailed diagnostic information can be captured with
In addition to logging requests and responses, Elasticsearch 5.0+ also sends back warning headers in the response, to notify you if you are using a feature that is marked as deprecated.