I am interested in getting all the JQL's that are fired by a JIRA instance, the atlassian-jira-slow-queries.log will only log the queries that take > 400ms to execute..so that leaves me with remaining queries that take < 400 ms to execute.
I don't think Sateesh meant to say that. JQL doesn't generally run much SQL against your database - it does check permissions, but most of the work in a search is done against the Lucence index. So whatever you're really looking for here, you're probably looking in the wrong place. Could you explain why you think you want to do this? What's the problem you're trying to solve by looking at JQL activity?
From my older book "Practical JIRA Plugins" (O'Reilly):
You can display the original JQL query and its associated Lucene query in the JIRA log file by adding the following lines to log4j.properties file:
log4j.logger.com.atlassian.jira.issue.search.providers.LuceneSearchProvider = \ INFO, console, filelog
log4j.additivity.com.atlassian.jira.issue.search.providers.LuceneSearchProvider = false
but this is likely to impact your JIRA performance
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs