<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: REST Request &amp;amp; Response Logging for RTDM in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/REST-Request-amp-Response-Logging-for-RTDM/m-p/421546#M710</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think either we or our customer (don't remember already)&amp;nbsp;had a similar&amp;nbsp;discussions with the Technical Support and from what I recall, the answer was "no"&amp;nbsp;(not possible to fully log REST requests and responses in the current version). I would be happy to be mistaken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no way to do it in RTDM, i'd look towards SAS Web Server (which is essentially a repackaged Apache). There should be plenty of Apache mods&amp;nbsp;to dump requests and responses in a configurable way (based on a URL of RTDM's REST service).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 13:08:17 GMT</pubDate>
    <dc:creator>Dmitry_Alergant</dc:creator>
    <dc:date>2017-12-15T13:08:17Z</dc:date>
    <item>
      <title>REST Request &amp; Response Logging for RTDM</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/REST-Request-amp-Response-Logging-for-RTDM/m-p/421517#M709</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp; trying to save all Web Service requests for RTDM into the new log file. So far I have modified "Lev1/Web/Common/LogConfig/SASDecisionServicesEngine-log4j.xml" and added new logfile appender.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;appender name="XMLLog" class="org.apache.log4j.DailyRollingFileAppender"&amp;gt;
&amp;lt;param name="File"
value="${config.lev.web.appserver.logs.dir}/DSEngineServer-soap.log" /&amp;gt;
&amp;lt;param name="datePattern" value="'.'yyyy-MM-dd"/&amp;gt;
&amp;lt;param name="Append" value="true" /&amp;gt;
&amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;
&amp;lt;param name="ConversionPattern" value="%d %c - %m%n" /&amp;gt;
&amp;lt;/layout&amp;gt;
&amp;lt;/appender&amp;gt;
&amp;lt;appender name="ASYNC_FILE_XML" class="org.apache.log4j.AsyncAppender"&amp;gt;
&amp;lt;param name="BufferSize" value="100000"/&amp;gt;
&amp;lt;param name="Blocking" value="false"/&amp;gt;
&amp;lt;appender-ref ref="XMLLog"/&amp;gt;
&amp;lt;/appender&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Also I have added additional logger:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;logger name="org.springframework.ws.server.MessageTracing"
additivity="false"&amp;gt;
&amp;lt;level value="TRACE" /&amp;gt;
&amp;lt;appender-ref ref="ASYNC_FILE_XML" /&amp;gt;
&amp;lt;/logger&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now all SOAP requests are saved to new log file. But it is only for SOAP. Is it possible to have similar for REST requests?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Aurimas&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 12:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/REST-Request-amp-Response-Logging-for-RTDM/m-p/421517#M709</guid>
      <dc:creator>AAI</dc:creator>
      <dc:date>2017-12-15T12:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: REST Request &amp; Response Logging for RTDM</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/REST-Request-amp-Response-Logging-for-RTDM/m-p/421546#M710</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think either we or our customer (don't remember already)&amp;nbsp;had a similar&amp;nbsp;discussions with the Technical Support and from what I recall, the answer was "no"&amp;nbsp;(not possible to fully log REST requests and responses in the current version). I would be happy to be mistaken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no way to do it in RTDM, i'd look towards SAS Web Server (which is essentially a repackaged Apache). There should be plenty of Apache mods&amp;nbsp;to dump requests and responses in a configurable way (based on a URL of RTDM's REST service).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 13:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/REST-Request-amp-Response-Logging-for-RTDM/m-p/421546#M710</guid>
      <dc:creator>Dmitry_Alergant</dc:creator>
      <dc:date>2017-12-15T13:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: REST Request &amp; Response Logging for RTDM</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/REST-Request-amp-Response-Logging-for-RTDM/m-p/421558#M711</link>
      <description>&lt;P&gt;Hi Dmitry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope so you are wrong &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; On our site we have SAS CI 6.5. Hope so there is easy way to save REST/JSON messages to the log. Otherwise I guess we will need to live without it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope so someone on SAS Community has&amp;nbsp;made it work and has step by step instructions.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 13:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/REST-Request-amp-Response-Logging-for-RTDM/m-p/421558#M711</guid>
      <dc:creator>AAI</dc:creator>
      <dc:date>2017-12-15T13:30:17Z</dc:date>
    </item>
  </channel>
</rss>

