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 "José Andrés Cordero Benítez (Jira)" <ji...@apache.org> on 2019/08/28 13:43: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=16917786#comment-16917786 ] 

José Andrés Cordero Benítez commented on OAK-4508:
--------------------------------------------------

I have created a patch to add support to change the prefix. It can be changed using a new constructor, or using the "withPrefix" builder.

It includes a test to check the prefix is actually in the logs.

> 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
>            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)