How to set client.transport to TRACE

How do I set the logging level for client.transport to TRACE in the java api? I've tried passing in the immutable settings with .put("client.transport", "TRACE") and it doesn't seem to have an effect.

It doesn't seem like something I would set in the node settings because it's the client transport client logs I want not the node logs although I also tried to set it in the node and it didn't seem to have an effect either.

Thanks!
gmu

You need to set it in your general log configuration (which in my case was managed by log4j).

ESLoggerFactory.getRootLogger().setLevel("TRACE") or Logger.getLogger("client.transport").setLevel(Level.TRACE) might work too