diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-08-01 13:56:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-08-01 13:56:10 +0000 |
commit | a7ab43dbd252c5bc70e490f4db94940e6985f25a (patch) | |
tree | 3eec01e32b17f5beda5eacdc511abbd667447242 | |
parent | d83dab14d818177a90ed2ceded1f358c9fcf090f (diff) | |
parent | 9c1eba1933eb84398b1cfa88199953fea935d691 (diff) |
Merge "[POLICY-134] Fixed bug in PolicyLogger."
-rw-r--r-- | common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java | 10 |
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)); } /** |