From d7eee56caede4bc99e81a98d2da42f4c1e6ca565 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 19 Oct 2017 13:11:47 -0400 Subject: Added additional arguments to method call The code already included "BPMN" and MsoLogger.getServiceName() as additional arguments in the call to warn() and error(). Simply added those same arguments to the call to info(), to match the method signature. Issue-Id: SO-244 Change-Id: Ic6297d67329358a3b9cdb480d930dc032b7029a2 Signed-off-by: Jim Hahn --- .../main/groovy/org/openecomp/mso/bpmn/common/scripts/MsoUtils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/MSOCommonBPMN/src/main/groovy/org') diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/MsoUtils.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/MsoUtils.groovy index cd5ae79bd3..94b423669d 100644 --- a/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/MsoUtils.groovy +++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/MsoUtils.groovy @@ -283,7 +283,7 @@ class MsoUtils { def log(logmode,logtxt,isDebugLogEnabled="false"){ MsoLogger msoLogger = MsoLogger.getMsoLogger(MsoLogger.Catalog.BPEL); if ("INFO"==logmode) { - msoLogger.info(MessageEnum.BPMN_GENERAL_EXCEPTION_ARG, logtxt); + msoLogger.info(MessageEnum.BPMN_GENERAL_EXCEPTION_ARG, logtxt, "BPMN", MsoLogger.getServiceName()); } else if ("WARN"==logmode) { // to see the warning text displayed in the log entry, the text must also be passed as arg0 (2nd argument) to invoke the correct MsoLogger warn() method msoLogger.warn (MessageEnum.BPMN_GENERAL_WARNING, logtxt, "BPMN", MsoLogger.getServiceName(), MsoLogger.ErrorCode.UnknownError, logtxt); -- cgit 1.2.3-korg