Skip to content

Commit 1bbe406

Browse files
feat: adding info about dd_log_levels
1 parent 0b136b4 commit 1bbe406

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

content/en/docs/deployment/mendix-cloud-deploy/environments-details.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ Click **Add** and select **Supported** to choose from the following variables:
483483

484484
* **APPMETRICS_TARGET** – This enables sending application runtime and custom business metrics to HTTP endpoints of different monitoring solutions, such as [InfluxDB](https://www.influxdata.com/), while ignoring micrometer endpoints.
485485
* **DD_API_KEY** – This is the API key used with Datadog.
486+
* **DD_LOG_LEVEL** – This controls the verbosity of Datadog's logs. Refer to [Log Levels](/developerportal/operate/datadog-metrics/#log-levels) for more information.
486487
* **DD_SITE** – This directs metrics to a specific Datadog region.
487488
* **DATABASE_CONNECTION_PARAMS** – These are additional JDBC parameters for PostgreSQL databases. For more information, see the [Mendix Cloud Foundry Buildpack](https://github.com/mendix/cf-mendix-buildpack).
488489
* **JVM_GARBAGE_COLLECTOR** – This overrides the automatic configuration of the Java garbage collector. Accepted values are `Serial` or `G1`.

content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/datadog-metrics.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,24 @@ If the app has more than one instance, you will see lines on the graph for each
177177

178178
## Additional Information{#additional-info}
179179

180+
### Log Levels (`DD_LOG_LEVEL`){#log-levels}
181+
182+
This variable is specific to the Datadog agent and controls the verbosity of the Datadog agent's own logs. It does not affect the [log level set in your app](/howto/monitoring-troubleshooting/log-levels/).
183+
184+
Valid values are:
185+
186+
* CRITICAL
187+
* ERROR
188+
* WARNING
189+
* INFO
190+
* DEBUG
191+
192+
{{% alert color="info" %}}
193+
Use log levels such as `DEBUG` or `TRACE` only temporarily for troubleshooting purposes.
194+
{{% /alert %}}
195+
196+
To control which logs are published to your APM tools, configure the settings on the [Log Levels](developerportal/operate/monitoring-with-apm/#tuning-log-levels) tab.
197+
180198
### Datadog Regions (`DD_SITE`){#dd-regions}
181199

182200
By default, the Datadog integration defaults to the US region (`datadoghq.com`). If you want to use a Datadog site that is in another region, go to the [Custom Environment Variables](/developerportal/deploy/environments-details/#custom-environment-variables) section of your Mendix app environment and add a `DD_SITE` custom environment variable. Set the variable's value to the relevant site. For example, for the EU Datadog site, set `DD_SITE` to `datadoghq.eu`.

0 commit comments

Comments
 (0)