Is there a way to log query sent by client node on the server node. I tried this way IgnitePredicate<EventAdapter> locLsnr = new IgnitePredicate<EventAdapter>() { @Override public boolean apply(EventAdapter evt) { switch (evt.type()) { case EventType.EVT_CACHE_QUERY_EXECUTED: CacheQueryExecutedEvent cacheExecEvent = (CacheQueryExecutedEvent)evt; String clause = cacheExecEvent.clause(); System.out.println("query "+clause); break; case EventType.EVT_CACHE_QUERY_OBJECT_READ: CacheQueryExecutedEvent cacheObjReadEvent = (CacheQueryExecutedEvent)evt; String clause2 = cacheObjReadEvent.clause(); System.out.println("query "+clause2); break; default: System.out.println(evt.getClass()); break; }
return true; } }; ignite.events().localListen(locLsnr, EventType.EVT_CACHE_QUERY_EXECUTED, EventType.EVT_CACHE_QUERY_OBJECT_READ); But, this did not work -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/