Add logger appender for docprocess logs in MCF
<Configuration status="warn" name="ManifoldCF">
+
+ <CustomLevels>
+ <CustomLevel name="DOCPROCESS" intLevel="450" />
+ </CustomLevels>
+
<Appenders>
<RollingFile name="main" fileName="../../logs/manifoldcf.log" filePattern="../../logs/manifoldcf.log.%d{yyyy-MM-dd}.%i.log">
<PatternLayout>
</Policies>
<DefaultRolloverStrategy max="10" />
</RollingFile>
+
+ <!-- DocProcess appender -->
+ <RollingFile name="DocProcess" fileName="../../logs/doc-process.log" filePattern="../../logs/doc-process.log.%d{yyyy-MM-dd}-%i.log">
+ <PatternLayout>
+ <Pattern>%d{ISO8601} |%m%n</Pattern>
+ </PatternLayout>
+ <Policies>
+ <TimeBasedTriggeringPolicy interval="1"/>
+ <SizeBasedTriggeringPolicy size="10MB" />
+ </Policies>
+ <DefaultRolloverStrategy max="10" />
+ </RollingFile>
</Appenders>
<Loggers>
<Root level="warn">
<AppenderRef ref="main"/>
</Root>
+
+ <!-- DocProcess loggers -->
+ <Logger name="com.francelabs.datafari.connectors.share.SharedDriveConnector" level="docprocess" additivity="false">
+ <AppenderRef ref="DocProcess"/>
+ </Logger>
+ <Logger name="org.apache.manifoldcf.crawler.connectors.sharepoint.rest.SharePointRestRepositoryConnector" level="docprocess" additivity="false">
+ <AppenderRef ref="DocProcess"/>
+ </Logger>
</Loggers>
</Configuration>
\ No newline at end of file
