You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/02/11 17:25:12 UTC

[jira] [Created] (OAK-2501) add more trace-logging to mongoMk to debug performance issues

Stefan Egli created OAK-2501:
--------------------------------

             Summary: add more trace-logging to mongoMk to debug performance issues
                 Key: OAK-2501
                 URL: https://issues.apache.org/jira/browse/OAK-2501
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.0.11
            Reporter: Stefan Egli
             Fix For: 1.0.12


Debugging performance issues within mongoMk is currently somewhat more challenging that it would have to - IMO because there is no easy logger that can be turned on to get some performance numbers. Ie currently for figuring out what's going on in mongoMk you can set the log level to TRACE for the following loggers:
{code}
org.apache.jackrabbit.oak.plugins.observation.EventGenerator
org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore
org.apache.jackrabbit.oak.plugins.document.NodeDocument
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore 
{code}
while you might still not catch all interesting and crucial details.

So the suggestion is to add a dedicated logger which is used at a couple of neuralgic locations (eg in observation event generation, cache handling, diffChildren, findUncached etc)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)