Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
To obtain detailed information about consistency checks in log files, make sure you also have the appropriate setting enabled in the configuration of the log4j xml file such as:
Code Block |
---|
<Logger name="org.apache.jackrabbit" level="info">
<AppenderRef ref="console"/>
</Logger> |
Together with a consistency check for a workspace enabled (see below) for example, the logger would print the following into the log file:
Code Block | ||
---|---|---|
| ||
INFO org.apache.jackrabbit.core.RepositoryImpl 16.10.2018 09:48:32 -- initializing workspace 'website'...
INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem 16.10.2018 09:48:32 -- LocalFileSystem initialized at path /m/mgnl-bundles/apache-tomcat/webapps/magnoliaAuthor/repositories/magnolia/workspaces/website/default
INFO org.apache.jackrabbit.core.persistence.bundle.ConsistencyCheckerImpl 16.10.2018 09:48:32 -- website: checked 601 bundles.
INFO org.apache.jackrabbit.core.query.lucene.SearchIndex 16.10.2018 09:48:32 -- Index initialized: /m/mgnl-bundles/apache-tomcat/webapps/magnoliaAuthor/repositories/magnolia/workspaces/website/index Version: 3
INFO org.apache.jackrabbit.core.RepositoryImpl 16.10.2018 09:48:32 -- workspace 'website' initialized |
See especially line 3 in the result log.
You can run a search index consistency check for each workspace on startup. The workspace.xml
files are available in /<CATALINA_HOME>/webapps/<contextPath>/repositories/magnolia/workspaces/*
.
...