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

Thomas Mueller commented on OAK-12196:
--------------------------------------

https://github.com/apache/jackrabbit-oak/pull/2874

> Improve logging for diff.index
> ------------------------------
>
>                 Key: OAK-12196
>                 URL: https://issues.apache.org/jira/browse/OAK-12196
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>
> Currently if a diff.index is used, a warning is logged:
> {noformat}
> WARN [async-index-update-async] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate
>  jcr:primaryType of index diff.index.optimizer should be 
> oak:QueryIndexDefinition 
> instead of nt:unstructured
> {noformat}
> Instead, an info level message should be logged, but only once at startup:
> {noformat}
> INFO [async-index-update-async] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate
> index diff.index.optimizer is detected
> INFO [async-index-update-async] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate
> index diff.index is detected
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to