stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject stratos git commit: Fixing log message parameters in instance spawned message processor
Date Mon, 22 Dec 2014 08:00:27 GMT
Repository: stratos
Updated Branches:
  refs/heads/master c7feb35fa -> 119fd51c7


Fixing log message parameters in instance spawned message processor


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/119fd51c
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/119fd51c
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/119fd51c

Branch: refs/heads/master
Commit: 119fd51c7aa67dc7015326a002fc1b14282ed109
Parents: c7feb35
Author: Imesh Gunaratne <imesh@apache.org>
Authored: Mon Dec 22 13:30:19 2014 +0530
Committer: Imesh Gunaratne <imesh@apache.org>
Committed: Mon Dec 22 13:30:19 2014 +0530

----------------------------------------------------------------------
 .../processor/topology/InstanceSpawnedMessageProcessor.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/119fd51c/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
index 2bf210b..646fe6f 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
@@ -142,8 +142,8 @@ public class InstanceSpawnedMessageProcessor extends MessageProcessor
{
             cluster.addMember(member);
 
             if (log.isInfoEnabled()) {
-                log.info(String.format("Member created: [service] %s [cluster] %s [member]
%s " +
-                                "[instance] %s [hierarchy-instance] %s",
+                log.info(String.format("Member created: [service-name] %s [cluster-id] %s
[member-id] %s " +
+                                "[cluster-instance-id] %s",
                         event.getServiceName(),
                         event.getClusterId(),
                         event.getMemberId(),


Mime
View raw message