Configure filecopy collection log level

Background

This article provides the steps required to set the log level for a filecopy collection.

Funnelback 15+

  1. Copy $SEARCH_HOME/conf/log4j2.xml.default to $SEARCH_HOME/conf/<collection>/log4j2.xml

  2. Edit the file and update the line below to the desired level.

    <Logger name="com.funnelback" level="info"/>
    
    <!-- eg. increase to debug level: -->
    <Logger name="com.funnelback" level="debug"/>
  3. Save the file and start and update observing debug messages now appear in the filecopier.log

Funnelback 14.2 and earlier

  1. Copy $SEARCH_HOME/conf/log4j.properties.default to $SEARCH_HOME/conf/<collection>/log4j.properties

  2. Edit the file and update the line below to the desired level.

    log4j.logger.com.funnelback=INFO, gather_log
    
    #change to set the level as debug
    log4j.logger.com.funnelback=DEBUG, gather_log
  3. Save the file and start and update observing debug messages now appear in the filecopier.log