how can we track logs of our rest api that we create in web applications.
how can we track logs of our rest api that we create in web applications. As i am running it on local system.
how can we track logs of our rest api that we create in web applications. As i am running it on local system.
Hi, you can use the $$$LOGINFO and/or $$$TRACE macross and then review it using the Event Log in the Management Portal. You can type the class name of your REST API to filter the results.
Best regards,
Javi
Use Session Events or create your custom base REST class extending %CSP.REST with logging in OnPreDispatch method. Check Custom Logging section in this article, for an example of
%request
logging.