diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-03-09 07:20:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@open-o.org> | 2017-03-09 07:20:04 +0000 |
commit | 856f8ea7b4ef68bc730218bafb357880df56e0b8 (patch) | |
tree | d47c346140d6ec9d6c57bf37389d1b4057438a9b /holmes-actions/src | |
parent | 71485b24175f99787fc729d70bf826325d84698f (diff) | |
parent | 7f9636fd1129bbc7e1a5d3fa96a48ecd73556449 (diff) |
Merge "Add register service log"
Diffstat (limited to 'holmes-actions/src')
-rw-r--r-- | holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java index 49dff92..ee77be3 100644 --- a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java +++ b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java @@ -55,7 +55,8 @@ public class MSBRegisterUtil { log.info("Registration successful service to the bus :" + response.getEntity());
return true;
} else {
- log.warn("Registering the service to the bus failure");
+ log.warn("Registering the service to the bus failure:"+response.getStatusLine().getStatusCode()+" "+
+ response.getStatusLine().getReasonPhrase()+response.getStatusLine().getProtocolVersion());
return false;
}
} finally {
|