You are here

Tracking clustering issues

This section describes how to track clustering issues in Alfresco 4.2.
  • The main clustering debug information can be customised using the following log4j setting (default value is INFO):
  • For a better control and more detailed clustering debug information, the following category may be configured:  
This controls clustering initialisation and shutdown. It provides INFO level startup and shutdown messages. It also provides WARN level messages, if clustering is disabled or an invalid 4.2 license is installed.
Here is an example output:
12:38:38,769 INFO [org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap] Cluster started, name:
12:38:38,776 INFO [org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap] Current cluster
      members: (hostname: (hostname:    
  • When a cluster member leaves or joins, the following class generates an informative INFO level message:
Here is an example output:
12:38:47,560 INFO [org.alfresco.enterprise.repo.cluster.core.MembershipChangeLogger] Member joined: (hostname:
12:38:47,569 INFO [org.alfresco.enterprise.repo.cluster.core.MembershipChangeLogger] Current cluster
      members: (hostname: (hostname: (hostname:
  • An important aspect of clustering is caching. To log cache creation (for example, increase the cache related logging to DEBUG level), enable the following log categories:
  • The underlying clustering technology, Hazelcast, is configured in Alfresco to use log4j for logging. Therefore, you can configure logging for the whole Hazelcast top-level package, as shown below:
To increase logging from Hazelcast’s member joining mechanism, enable the following log category: