Enable DEBUG logging for the TRIMPush collection

Managed by | Updated .


The same process outlined below can be applied to the other binaries in $SEARCH_HOME/wbin/trim/. However DEBUG mode on the GetUserKeys binary will prevent the search from returning results (but will log additional debug information).

If you needed to you could get GetUserKeys in DEBUG mode and configure the logging to log the output to a file rather than stdout in order to keep the search working.

  • Edit the file $SEARCH_HOME/wbin/trim/Funnelback.TRIM.Gather.exe.config and increase the <arg key="level" value="INFO"/> value to DEBUG
  • The next time the TRIM update is run DEBUG lines should get written to the collection's trim.log
<?xml version="1.0"?>

    <sectionGroup name="common">
      <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging"/>
      <factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging">
        <arg key="level" value="INFO"/>
        <arg key="showLogName" value="true"/>
        <arg key="showDataTime" value="true"/>
        <arg key="dateTimeFormat" value="dd/MM/yyyy HH:mm:ss:fff"/>
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
Was this artcle helpful?