From 584cc4a3f093edc5cdbdff0dcb5dcbe8457e197d Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 3 May 2019 14:32:53 +0200 Subject: Fix log reporting Fix loop log reported in UI, in case of failure it's not working correclty Issue-ID: CLAMP-360 Change-Id: I4533c650134b254619523d8c9cfe2791e9b6584b Signed-off-by: sebdet --- src/main/resources/clds/camel/rest/clamp-api-v2.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/resources/clds/camel/rest/clamp-api-v2.xml') diff --git a/src/main/resources/clds/camel/rest/clamp-api-v2.xml b/src/main/resources/clds/camel/rest/clamp-api-v2.xml index 5c5f122c..4c1cd812 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -286,7 +286,7 @@ loggingLevel="ERROR" message="STOP request failed for loop: $${header.loopName}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('STOP request failed, Error reported: ${exception}','ERROR',${exchangeProperty[loopObject]})" /> @@ -331,7 +331,7 @@ loggingLevel="ERROR" message="START request failed for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('START request failed, Error reported: ${exception}','INFO',${exchangeProperty[loopObject]})" /> @@ -439,7 +439,7 @@ loggingLevel="ERROR" message="SUBMIT request failed for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('SUBMIT request failed, Error reported: ${exception}','ERROR',${exchangeProperty[loopObject]})" /> @@ -521,7 +521,7 @@ loggingLevel="ERROR" message="DELETE request failed for loop: ${header.loopName}" /> + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('DELETE request failed, Error reported: ${exception}','ERROR',${exchangeProperty[loopObject]})" /> -- cgit 1.2.3-korg