Hi MCF community,

I recently switched from MCF 2.5 to MCF 2.8.1 and I am a little bit confused with the agent logs.

First of all I noticed that MCF is now using log4j2 and the documentation is not up to date on this point (the old logging.ini format is mentioned) : https://manifoldcf.apache.org/release/release-2.8.1/en_US/how-to-build-and-deploy.html#Logging+configuration+file+properties

Then I decided to use the logging.xml provided in the example directory of MCF and I just changed the log level of the root logger :

<Configuration status="warn" name="ManifoldCF" packages="">
  <Appenders>
    <File name="MyFile" fileName="logs/manifoldcf.log">
      <PatternLayout>
        <Pattern>%5p %d{ISO8601} (%t) - %m%n</Pattern>
      </PatternLayout>
    </File>
  </Appenders>
  <Loggers>
    <Root level="all">
      <AppenderRef ref="MyFile"/>
    </Root>
  </Loggers>
</Configuration>

The problem is that the logging file is correctly created but is never filled. Any idea of what's wrong ? Did I miss something ?

Thanks for your help,
Julien

Reply via email to