Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2862

More extensive Elasticsearch request/response logging

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.8.0.CR1
    • Fix Version/s: 5.8.0.Final
    • Component/s: backend-elasticsearch
    • Labels:
      None

      Description

      It would be interesting and would help a lot in development, if we could see the output Json sent to elasticsearch, similar to what we have in hibernate for SQL.

      <property name="hibernate.show_sql" value="true"/>
      <property name="hibernate.format_sql" value="true"/>
      

      Maybe some property to enable it like this:

      <property name="hibernate.search.default.elasticsearch.show_json" value="true"/>
      <property name="hibernate.search.default.elasticsearch.pretty_json" value="true"/>
      

      Thank you.

        Attachments

          Activity

            People

            • Assignee:
              yrodiere Yoann Rodière
              Reporter:
              leandro.freitas Leandro Kersting de Freitas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: