Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    RESTHandler: logging actual response server side

    Hello, is it available a log category/level which I may use to log the actual json/xml string response of the RESTHandler?

    #2
    No, there's no log level that would show this. However, it is easy to see using the browser's developer tools.

    Comment


      #3
      Actually the use case is with requests made from another server.
      There's the dsResponse.getJSResponse() (not documented) method but it's not the actual string sent (ie dates are not in XML Schema format)

      Comment


        #4
        A Filter servlet placed in front of the RestHandler would allow you to log both the response and the request (if desired).

        Comment

        Working...
        X