From: Kanagaraj Manickam k00365106 Date: Wed, 25 Apr 2018 05:49:07 +0000 (+0530) Subject: Fix base pre and post run debug info X-Git-Tag: v2.0.2~108 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7bb115022adad0fec3d0c01fa79a4480b5c3a116;p=cli.git Fix base pre and post run debug info Issue-ID: CLI-100 Change-Id: I6294ccf4feb8b000cd315bdea3e92c56fc837f4a Signed-off-by: Kanagaraj Manickam k00365106 --- diff --git a/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java b/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java index b357b184..aa04d556 100644 --- a/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java +++ b/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java @@ -178,11 +178,11 @@ public abstract class OnapCommand { } protected void preRun() throws OnapCommandException { - log.debug("CMD: " + this.getName() + "pre run."); + log.debug(this.getName() + " PRE-RUN"); } protected void postRun() throws OnapCommandException { - log.debug("CMD: " + this.getName() + "post run."); + log.debug(this.getName() + " POST-RUN"); } /** * Oclip command execute with given parameters on service. Before calling this method, its mandatory to set all