Info |
---|
Valid from Datafari X.X |
If you want to have additional information about MCF, you can activate specific logs thanks to the global properties.
Simply add the properties in $MCF_HOME/mcf_home/properties-global.xml
that you want to add to extend the original manifoldcf.log
file :
Code Block |
---|
nano /opt/datafari/mcf/mcf_home/properties-global.xml |
Code Block |
---|
<property name="org.apache.manifoldcf.connectors" value="DEBUG"/> |
Then open a bash into the MCF_HOME
directory and launch the following command as the 'datafari
' user :
Code Block |
---|
bash setglobalproperties.sh |
You also need to edit the file log4j2.properties
in the tomcat-mcf
folder :
Code Block |
---|
nano /opt/datafari/tomcat-mcf/conf/log4j2.properties.xml |
Then change the level of the ManifoldCF logger : info to debug :
Code Block |
---|
<!-- ManifoldCF logger -->
<Logger name="org.apache.manifoldcf" level="debug" additivity="false">
<AppenderRef ref="Manifold"/>
</Logger> |
...
The logs are now visible in /opt/datafari/logs
: manifoldcf-webservices.log
and manifoldcf.log
The exact list is on the MCF documentation.
org.apache.manifoldcf.misc | Miscellaneous debugging output. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.db | Database debugging output. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.lock | Lock management debugging output. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.cache | Cache management debugging output. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.agents | Agent management debugging output. Legal values INFO, WARN, or DEBUG |
org.apache.manifoldcf.perf | Performance logging debugging output. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.crawlerthreads | Log crawler thread activity. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.hopcount | Log hopcount tracking activity. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.jobs | Log job activity. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.connectors | Log connector activity. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.scheduling | Log document scheduling activity. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.authorityconnectors | Log authority connector activity. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.authorityservice | Log authority service activity. Legal values are INFO, WARN, or DEBUG. |
org.apache.manifoldcf.mappingconnectors | Log mapping connector activity. Legal values INFO, WARN, or DEBUG. |
org.apache.manifoldcf.ingest | |
org.apache.manifoldcf.diagnostics |