[DOCU-1730] Add necessary log4j configuration Created: 11/Oct/18  Updated: 17/Oct/18  Resolved: 16/Oct/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Medium
Reporter: Jonathan Ayala Assignee: Martin DrĂ¡pela
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Regarding inconsistency checks explained in https://documentation.magnolia-cms.com/display/DOCS57/Repository+inconsistency#Repositoryinconsistency-Consistencychecksandfixes

In order to make this process easier for users it would be good if the documentation specified that if you want to check the results of the operation, it is necessary to set org.apache.jackrabbit to INFO level in log4j configuration like this:

<category name="org.apache.jackrabbit">
    <priority value="INFO" />
  </category> 

Besides it would be interesting to add what the output will be like so that the user can be sure that is doing it properly.

INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: Checking index consistency
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 10%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 20%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 30%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 40%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 60%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 70%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 80%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: progress: 90%
INFO  ache.jackrabbit.core.query.lucene.ConsistencyCheck: Checking index completeness

Generated at Mon Feb 12 01:20:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.