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 "Marcel Reutegger (Jira)" <ji...@apache.org> on 2019/09/04 14:45:00 UTC

[jira] [Commented] (OAK-4508) LoggingDocumentStore: better support for multiple instances

    [ https://issues.apache.org/jira/browse/OAK-4508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922575#comment-16922575 ] 

Marcel Reutegger commented on OAK-4508:
---------------------------------------

Thanks for the patch. It looks good to me. I made a few minor changes:
- Change DocumentNodeStoreBuilder.getLoggingPrefix() to package private and add a Nullable annotation to the return value
- Change prefixCount into a primitive type in the test
- Add a test for LoggingDocumentStoreWrapper.withPrefix()

Committed to trunk: http://svn.apache.org/r1866393

> LoggingDocumentStore: better support for multiple instances
> -----------------------------------------------------------
>
>                 Key: OAK-4508
>                 URL: https://issues.apache.org/jira/browse/OAK-4508
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Julian Reschke
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: prefix-change-LoggingDocumentStore-OAK4508.patch
>
>
> It would be cool if the logging could be configured to use a specific prefix instead of "ds." - this would make it more useful when debugging code that involves two different ds instances in the same VM.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)