mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.2 to HEAD
7051: Add ability to change log levels at runtime via JMX console - using Log4j's HierarchyDynamicMBean. 7055: AR-1821. Also related to CHK-1583. Manual merge and fix of line endings git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -82,7 +82,8 @@
|
||||
<map>
|
||||
<!-- MBeans to register with alfrescoMBeanServer -->
|
||||
<entry key="Alfresco:Name=VirtServerRegistry,Type=VirtServerRegistry" value-ref="VirtServerRegistry"/>
|
||||
<entry key="Alfresco:Name=FileServerConfig,Type=FileServerConfig" value-ref="FileServerConfig"/>
|
||||
<entry key="Alfresco:Name=FileServerConfig,Type=FileServerConfig" value-ref="FileServerConfig"/>
|
||||
<entry key="Alfresco:Name=Log4jHierarchy,Type=Log4JHierarchy" value-ref="log4jHierarchy"/>
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -119,6 +120,13 @@
|
||||
<property name="fileServerConfiguration"><ref bean="fileServerConfiguration"/></property>
|
||||
</bean>
|
||||
|
||||
<!-- Log4J Hierarchy -->
|
||||
<bean id="log4jHierarchy" class="org.apache.log4j.jmx.HierarchyDynamicMBean"/>
|
||||
|
||||
<bean id="log4JHierarchyInit" class="org.alfresco.repo.admin.Log4JHierarchyInit" init-method="init">
|
||||
<property name="log4jHierarchy" ref="log4jHierarchy"/>
|
||||
</bean>
|
||||
|
||||
<!-- Datasource bean -->
|
||||
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
||||
<property name="driverClassName">
|
||||
|
Reference in New Issue
Block a user