diff options
Diffstat (limited to 'common-logging/src/main/java/org/onap/policy/common/logging/eelf')
-rw-r--r-- | common-logging/src/main/java/org/onap/policy/common/logging/eelf/MessageCodes.java | 2 | ||||
-rw-r--r-- | common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/MessageCodes.java b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/MessageCodes.java index ab5712ff..9116051b 100644 --- a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/MessageCodes.java +++ b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/MessageCodes.java @@ -149,7 +149,7 @@ public enum MessageCodes implements EELFResolvableErrorEnum { MESSAGE_ERROR_SAMPLE; - /** + /* * Static initializer to ensure the resource bundles for this class are loaded... Here this * application loads messages from three bundles. */ 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 c582ea85..870e63aa 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 @@ -486,7 +486,7 @@ public class PolicyLogger { return; } if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) { - String arguments2 = getNormalizedStackTrace((Throwable)arguments[0], ""); + String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], ""); debugLogger.info(MessageCodes.GENERAL_INFO, message + arguments2); return; } @@ -571,7 +571,7 @@ public class PolicyLogger { return; } if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) { - String arguments2 = getNormalizedStackTrace((Throwable)arguments[0], ""); + String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], ""); debugLogger.warn(MessageCodes.GENERAL_INFO, message + arguments2); return; } @@ -661,7 +661,7 @@ public class PolicyLogger { return; } if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) { - String arguments2 = getNormalizedStackTrace((Throwable)arguments[0], ""); + String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], ""); errorLogger.error(MessageCodes.GENERAL_ERROR, message + arguments2); return; } @@ -747,7 +747,7 @@ public class PolicyLogger { return; } if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) { - String arguments2 = getNormalizedStackTrace((Throwable)arguments[0], ""); + String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], ""); debugLogger.debug(MessageCodes.GENERAL_INFO, message + arguments2); return; } @@ -1200,7 +1200,7 @@ public class PolicyLogger { return; } if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) { - String arguments2 = getNormalizedStackTrace((Throwable)arguments[0], ""); + String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], ""); metricsLogger.info(MessageCodes.RULE_METRICS_INFO, message + arguments2); return; } |