summaryrefslogtreecommitdiffstats
path: root/common-logging/src
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-08-01 13:56:10 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-01 13:56:10 +0000
commita7ab43dbd252c5bc70e490f4db94940e6985f25a (patch)
tree3eec01e32b17f5beda5eacdc511abbd667447242 /common-logging/src
parentd83dab14d818177a90ed2ceded1f358c9fcf090f (diff)
parent9c1eba1933eb84398b1cfa88199953fea935d691 (diff)
Merge "[POLICY-134] Fixed bug in PolicyLogger."
Diffstat (limited to 'common-logging/src')
-rw-r--r--common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java
index d0cc9c1e..7507c9ea 100644
--- a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java
+++ b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java
@@ -366,14 +366,6 @@ public class PolicyLogger {
debugLogger.info(MessageCodes.GENERAL_INFO, arg0);
}
- /**
- * Records only one String message without its class name passed in
- * @param arg0
- */
- public static void info(String arg0) {
- MDC.put(CLASS_NAME, "");
- debugLogger.info(MessageCodes.GENERAL_INFO, arg0);
- }
/**
* Records only one String message
@@ -381,7 +373,7 @@ public class PolicyLogger {
*/
public static void info(Object arg0) {
MDC.put(CLASS_NAME, "");
- info(arg0);
+ debugLogger.info(MessageCodes.GENERAL_INFO, String.valueOf(arg0));
}
/**