aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/clds/camel/routes
diff options
context:
space:
mode:
authorChristophe Closset <christophe.closset@intl.att.com>2019-05-03 12:49:33 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-03 12:49:33 +0000
commiteb955595cb54ef28cd0156f6a364d6e232975286 (patch)
treec9caba55f27ac97061a2e91734f71b1ffc638deb /src/main/resources/clds/camel/routes
parent7e8938e2bf7eae76bd527a28fd453650cf744e1a (diff)
parent584cc4a3f093edc5cdbdff0dcb5dcbe8457e197d (diff)
Merge "Fix log reporting"
Diffstat (limited to 'src/main/resources/clds/camel/routes')
-rw-r--r--src/main/resources/clds/camel/routes/flexible-flow.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/resources/clds/camel/routes/flexible-flow.xml b/src/main/resources/clds/camel/routes/flexible-flow.xml
index a116c5685..8cf1cdfd8 100644
--- a/src/main/resources/clds/camel/routes/flexible-flow.xml
+++ b/src/main/resources/clds/camel/routes/flexible-flow.xml
@@ -478,8 +478,7 @@
<constant>false</constant>
</handled>
<setProperty propertyName="logMessage">
- <simple>${exchangeProperty[policyName]} PDP Group removal status
- </simple>
+ <simple>PDP Group removal, Error reported: ${exception}</simple>
</setProperty>
<to uri="direct:dump-loop-log-http-response" />
</doCatch>
@@ -715,7 +714,8 @@
<route id="dump-loop-log-http-response">
<from uri="direct:dump-loop-log-http-response" />
+ <log loggingLevel="INFO" message="${exchangeProperty[logMessage]} - ${header.CamelHttpResponseCode} : ${header.CamelHttpResponseText}" />
<to
- uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog(${exchangeProperty[logMessage]} - ${header.CamelHttpResponseCode} : ${header.CamelHttpResponseText},'INFO',${exchangeProperty[loopObject]})" />
+ uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('${exchangeProperty[logMessage]} - ${header.CamelHttpResponseCode} : ${header.CamelHttpResponseText}','INFO',${exchangeProperty[loopObject]})" />
</route>
</routes> \ No newline at end of file