[
https://issues.apache.org/jira/browse/JCR-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved JCR-2741.
--------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
The MDC variables "jcr.session" and "jcr.operation" are now set while session
operations are being performed.
I've also implemented the other improvements mentioned above. Resolving as
fixed.
> Improved logging for session operations
> ---------------------------------------
>
> Key: JCR-2741
> URL: https://issues.apache.org/jira/browse/JCR-2741
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 2.2.0
>
>
> I'd like to add the following logging features to SessionOperations:
> * Use MDC [1] to make it possible to filter and redirect logs based on which
> session is being used
> * Add simple debug-level timing information for executed SessionOperations to
> help pinpoint performance issues
> * Classify SessionOperations as read or write operations, and log warnings
> (instead of the current debug messages) for concurrent writes on a session
> [1] http://logback.qos.ch/manual/mdc.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.