AnsweredAssumed Answered

Customizing Log

Question asked by antonio_sanchez_garaboa on Sep 4, 2018
Latest reply on Sep 4, 2018 by afaust

I wanto to customize the logs in Alfresco (alfresco.log, share.log and solr.log) so I have created three new files in $TOMCAT_HOME\tomcat\shared\classes\alfresco\extension\:

  • custom-log4j.properties
  • share-log4j.properties
  • solr-log4j.properties

And I have modified the line log4j.appender.File.File=XXXX.log in both of them to change the location of the log files.

However, although the new files have been created in the new location, Alfresco continues witting in the original log files.

 

What should I change in order to write in the new log files, and not in the original logs?

Outcomes