<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can I analyze or log the root cause of my failing REST webservice call?</title><link>https://answers.axonivy.com/questions/2033/how-can-i-analyze-or-log-the-root-cause-of-my-failing-rest-webservice-call</link><description>&lt;p&gt;I'm calling a REST service which is provided by my client. While I'm able to call the development service, I get weird error status codes when I call the productive service on customer site. &lt;/p&gt;
&lt;p&gt;How can I analyse the REST service invocation and get detailed information how my request is processed? &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2033/how-can-i-analyze-or-log-the-root-cause-of-my-failing-rest-webservice-call" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 14 Nov 2018 10:27:05 -0500</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/2033/how-can-i-analyze-or-log-the-root-cause-of-my-failing-rest-webservice-call/3550</link><description>&lt;p&gt;Just enable the runtime logger for rest clients in the log4jconfig.xml file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;category name="runtimelog.{application}.{process_model}.rest_client" class="ch.ivyteam.log.Logger" additivity="false"&amp;gt;
    &amp;lt;priority value="DEBUG"/&amp;gt;
    &amp;lt;appender-ref ref="RuntimeLog"/&amp;gt;
  &amp;lt;/category&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See &lt;a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/configuration.html#configuration-file-ref-log4jconfig-xml"&gt;log4jconfig.xml file reference&lt;/a&gt; in the engine guide.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Wed, 14 Nov 2018 10:27:05 -0500</pubDate><guid>https://answers.axonivy.com/questions/2033/how-can-i-analyze-or-log-the-root-cause-of-my-failing-rest-webservice-call/3550</guid></item></channel></rss>