" /> Composer: JSON sent to getWebService.jsp - Genesys CTI User Forum

Author Topic: Composer: JSON sent to getWebService.jsp  (Read 1851 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Composer: JSON sent to getWebService.jsp
« on: October 11, 2018, 03:48:37 PM »
Advertisement
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?

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Composer: JSON sent to getWebService.jsp
« Reply #1 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é

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Composer: JSON sent to getWebService.jsp
« Reply #2 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


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Composer: JSON sent to getWebService.jsp
« Reply #3 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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Composer: JSON sent to getWebService.jsp
« Reply #4 on: October 15, 2018, 07:48:34 PM »
Thanks! Will apply and test