sassoftware / sas-portal-app

The purpose of this project is to provide a partial replacement for SAS Information Delivery Portal, that was deprecated as of SAS 9.4M8.
Apache License 2.0
3 stars 5 forks source link

Add ability to turn on the debug logging from the client and return the results to the client #20

Open CraigRubendall opened 6 months ago

CraigRubendall commented 6 months ago

If an end user has a problem, the server administrator can turn on portaldebug to get more detailed logs for the requests. However, this requires admin intervention.

Should we have the ability to pass a debug parameter (similar to stp _debug parameter) on the request and to turn on logging, and to return the log back to the requesting client? How would this happen?

For an update service, the response is already coming back to the client in the formResponse or removeResponse divs on the page. Should we add another div to the page to show the value of that response if the debug flag is set? Show it in a different page?