Managed to print JSON by adding
logging.level.tracer=TRACE
logging.file.name=logs/es.log
to
application.properties
It print a lot but includes the JSON query