Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: cavagnaro on October 11, 2018, 03:48:37 PM

Title: Composer: JSON sent to getWebService.jsp
Post by: cavagnaro on October 11, 2018, 03:48:37 PM
Hi guys,
Dummy question, how can I see at logs the JSON being sent to the WEB Service block without a sniffer?
I guess it is printed at some logs but can't find them...block is already as DEBUG at logging settings but no impact at what I need as I guess it as the JSP itself
Any idea?
Title: Re: Composer: JSON sent to getWebService.jsp
Post by: René on October 11, 2018, 07:52:01 PM
Hi Cav,

Increasing logging level should help. Check log4j.xml file in Tomcat's lib folder.

There is knowledge base article on Genesys Support site available as well that details required changes.

René
Title: Re: Composer: JSON sent to getWebService.jsp
Post by: cavagnaro on October 11, 2018, 08:02:07 PM
I was messing with it but no luck yet.
Will search the KB again to try to find it
Thanks

Enviado de meu E6633 usando o Tapatalk

Title: Re: Composer: JSON sent to getWebService.jsp
Post by: Kubig on October 12, 2018, 08:53:29 AM
I think René mentioned this article [url=https://genesyspartner.force.com/customercare/pkb_Home?id=kA00B000000DuzESAS&l=en_US&fs=Search&pn=1]https://genesyspartner.force.com/customercare/pkb_Home?id=kA00B000000DuzESAS&l=en_US&fs=Search&pn=1[/url]

[code]<!-- These are the Composer provided class loggers -->
  <logger name="getWebRequest">
    <level value="DEBUG"/>
    <appender-ref ref="logfile"/>
  </logger>

  <logger name="getWebService">
    <level value="DEBUG"/>
    <appender-ref ref="logfile"/>
  </logger>[/code]

Of course, this applies only if you use Tomcat as the web container.
Title: Re: Composer: JSON sent to getWebService.jsp
Post by: cavagnaro on October 15, 2018, 07:48:34 PM
Thanks! Will apply and test