Advanced log4j.properties Configuration - Advanced log4j.properties Configuration - Alfresco - Alfresco Content Services - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/Extension-Packaging-Modules/Module-Package-Formats/Alfresco-Module-Package-AMP/log4j2.properties-File/Advanced-log4j.properties-Configuration - 23.4 - 23.4

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License
ft:lastPublication
2026-04-22T22:35:19.567073
ft:locale
en-US

In the unlikely event that you need to configure the set directories Content Services uses to find module-specific log4j2.properties files, look at WEB-INF/classes/alfresco/logging-context.xml and find a bean definition fragment that looks something like:

<property name="extraLog4jUrls">
  <list>
    <!-- NOTE: value entries are listed from lowest precedence to highest.  -->

    <!--  Installed  AMP modules  -->
    <value>classpath*:alfresco/module/*/log4j2.properties</value>

    <!--  Enterprise extensions  -->
    <value>classpath*:alfresco/enterprise/*-log4j2.properties</value>

    <!--  Other installed extensions  -->
    <value>classpath*:alfresco/extension/*-log4j2.properties</value>

    <!--  private developer overrides -->
    <value>classpath*:alfresco/extension/dev-log4j2.properties</value>
  </list>
 </property>

You can add additional path expressions here; for more information on the classpath*: notation used here, see Spring’s PathMatchingResourcePatternResolver documentation. Generally this file will not need to be changed.