I am using AEM 6.3 in my local as a developer.
I followed directions at Oak JCR Query Analysis
It seemed so promising and helpful and yet it doesn't work.
I now have a query.log and I confirmed the org.apache.jackrabbit.core.query.QueryImpl logger name matches
but when I execute a query in the console or from our application code nothing gets written to the log. It is empty.
Next I tried to access the analysis tool at
http://localhost:4502/libs/granite/operations/content/diagnosis/tool.html/_granite_queryperformance
With that I get a NPE,
Cannot serve request to /libs/granite/operations/content/diagnosis/tool.html/_granite_queryperformance in /libs/granite/operations/components/diagnosis/tool/tool.jsp
Exception:
java.lang.NullPointerException at org.apache.jsp.libs.granite.operations.components.diagnosis.tool.tool_jsp._jspService(tool_jsp.java:148) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)