<-- Back

Exclude specific API calls from logging

Issue

When the log level for the REST Consume node is configured to TRACE, all REST interactions—including request and response bodies—are captured in the logs for diagnostic purposes. However, this configuration does not provide a way to selectively exclude specific API calls from being logged. As a result, even large or sensitive responses, which might not be desirable in the logging output, will be included—potentially leading to issues such as buffer overflows or excessive memory usage in logging systems like Grafana.

In Grafana logs, the following error message is generated when a buffer overflow occurs:

"failed to forward tcp logs: bufio.Scanner: token too long"

Environment

Studio Pro (all versions)

Cause

This represents the standard operational behavior of the system. There is no option available to exclude specific API calls.

Solution / Workaround

There is currently no solution or workaround for this request, as there is no available option to exclude specific API calls. Once a node is configured, all calls will be logged.

Internal information related

  • 255288
  • C0A044PPS/p1753350100735319

Additional information

Set Log Levels | Mendix Documentation

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.