BookmarkSubscribeRSS Feed
AAI
Fluorite | Level 6 AAI
Fluorite | Level 6

 Hi,

 

I am  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. 

 

<appender name="XMLLog" class="org.apache.log4j.DailyRollingFileAppender">
<param name="File"
value="${config.lev.web.appserver.logs.dir}/DSEngineServer-soap.log" />
<param name="datePattern" value="'.'yyyy-MM-dd"/>
<param name="Append" value="true" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %c - %m%n" />
</layout>
</appender>
<appender name="ASYNC_FILE_XML" class="org.apache.log4j.AsyncAppender">
<param name="BufferSize" value="100000"/>
<param name="Blocking" value="false"/>
<appender-ref ref="XMLLog"/>
</appender>

 

 Also I have added additional logger:

 

<logger name="org.springframework.ws.server.MessageTracing"
additivity="false">
<level value="TRACE" />
<appender-ref ref="ASYNC_FILE_XML" />
</logger>

 

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?

 

BR,

Aurimas

2 REPLIES 2
Dmitry_Alergant
Pyrite | Level 9

Hi,

 

I think either we or our customer (don't remember already) had a similar discussions with the Technical Support and from what I recall, the answer was "no" (not possible to fully log REST requests and responses in the current version). I would be happy to be mistaken.

 

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 to dump requests and responses in a configurable way (based on a URL of RTDM's REST service).

 

Good luck!

-------
Dmitriy Alergant, Tier One Analytics
AAI
Fluorite | Level 6 AAI
Fluorite | Level 6

Hi Dmitry,

 

Hope so you are wrong Smiley Happy 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.

 

Hope so someone on SAS Community has made it work and has step by step instructions.

Review SAS CI360 now.png

 

Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.

 

 

 

 

SAS Customer Intelligence 360

Get started with CI 360

Review CI 360 Release Notes

Open a Technical Support case

Suggest software enhancements

Listen to the Reimagine Marketing podcast

Assess your marketing efforts with a free tool

 

Training Resources

SAS Customer Intelligence Learning Subscription (login required)

Access free tutorials

Refer to documentation

Latest hot fixes

Compatibility notice re: SAS 9.4M8 (TS1M8) or later

 

 

How to improve email deliverability

SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.

Find more tutorials on the SAS Users YouTube channel.

Review SAS CI360 now.png

 

Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.

 

 

 

 

SAS Customer Intelligence 360

Get started with CI 360

Review CI 360 Release Notes

Open a Technical Support case

Suggest software enhancements

Listen to the Reimagine Marketing podcast

Assess your marketing efforts with a free tool

 

Training Resources

SAS Customer Intelligence Learning Subscription (login required)

Access free tutorials

Refer to documentation

Latest hot fixes

Compatibility notice re: SAS 9.4M8 (TS1M8) or later

 

 

Discussion stats
  • 2 replies
  • 1619 views
  • 0 likes
  • 2 in conversation