MCF logging

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 :

nano /opt/datafari/mcf/mcf_home/properties-global.xml
<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 :

bash setglobalproperties.sh 

You also need to edit the file log4j2.properties in the tomcat-mcf folder :

Then change the level of the ManifoldCF logger : info to debug :

Then you need to restart Datafari (or only the Tomcat-MCF and the MCF agent).

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