[POLICY-134] Fixed bug in PolicyLogger. 33/6433/2
authorMagnusen, Drew (dm741q) <dm741q@att.com>
Mon, 31 Jul 2017 17:51:51 +0000 (12:51 -0500)
committerMagnusen, Drew (dm741q) <dm741q@att.com>
Tue, 1 Aug 2017 13:36:08 +0000 (08:36 -0500)
commit9c1eba1933eb84398b1cfa88199953fea935d691
tree0ace9a620cb3f668e122d2e395c72a699f2d36bc
parent3934bfec62ea0ed3e91ac819225c417e217008a8
[POLICY-134] Fixed bug in PolicyLogger.

PolicyLogger.info(Object arg0) calls itself recursively until it eventually
causes a stack overflow error.

Fix is to call debugLogger.info(MessageCodes, String) from within
PolicyLogger.info(Object).

Additionally, PolicyLogger.info(String arg0) was removed as
debugLogger.info(MessageCodes, String) can be called directly.

Change-Id: Id141027b544efa06b79f54a6726843b2a47481b9
Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
common-logging/src/main/java/org/onap/policy/common/logging/eelf/PolicyLogger.java