OutSystem Platform keeps track of all requests and responses of your REST APIs, namely, a time log of all request/response activity and content. Logs are accessed through the environment console of OutSystems Platform.

REST APIs Log

To access the logging of REST APIs, go to the 'Monitoring' section in the environment console, and select 'Integrations'. Then, filter the type of logging you want to see ‘REST (Consume)’ or ‘REST (Expose)’.

In the listed lines you may find links to look into detailed information:

Logging Level

Use the logging level of a module to store detailed information about requests/responses.

To configure the logging level, edit the module in the environment console, select the Integrations tab, and click on the REST API name.

Because logs are stored in the environment, increasing the logging level implies:

Logging Level: Default

In this level, information is logged for errors only. Click on Error to look into it.


Logging Level: Troubleshoot

In this level additional information about HTTP trace is stored with errors. Click on Error links to look into it.

Logging Level: Full

In this level all requests/responses are logged, including the additional information about HTTP trace. Click on Error to look into it. In case there’s no error, click on Details.

Debugging

To debug, add breakpoints to actions you have in your REST APIs.

Consumed REST APIs

In this case, your application sends a request to a remote REST API and receives a response from it.

Debug can be done during the request lifecycle, in the following actions:

Exposed REST APIs

In this case, your application exposes a REST API, receives a request and returns a response.

Debug can be done during the request lifecycle, in the following actions:

See Also

Consume REST APIs | Expose REST APIs | Consumed REST API Runtime Configuration