Skip to main content

Logging environment variables

Logging-related environment variables available for use with Self-hosted Retool deployments.

Only configure environment variables when needed. You can configure many environment variables from your organization's Settings rather than directly editing your deployment's configuration file.

You must restart your instance after setting any variables for them to take effect.

DISABLE_AUDIT_TRAILS_LOGGING

Whether to disable logging of audit trails.

Type boolean
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Defaultfalse
Examples
DISABLE_AUDIT_TRAILS_LOGGING=true

HIDE_ALL_HEADERS_IN_AUDIT_LOG_EVENTS

Whether to prevent all query headers and cookies from being added to audit log entries.

Type boolean
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Defaultfalse
Examples
HIDE_ALL_HEADERS_IN_AUDIT_LOG_EVENTS=true

LOG_AUDIT_EVENTS

Whether to log audit events.

Type boolean
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Defaultfalse
Examples
LOG_AUDIT_EVENTS=true

LOG_LEVEL

The log level for Retool logs.

Type string
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Allowed Values
ValueDescription
error

Error level logging. (least verbose)

warn

Warning level logging.

info

Info level logging.

debug

Debug level logging. (most verbose)

Defaultinfo

RTEL_SEND_TO_RETOOL_INPUT_ALLOWLIST

A comma-separated list of telemetry data types sent to Retool.

Type string
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Allowed Values
ValueDescription
container_logs

Container logs.

metrics

Metrics.

otlp_traces

OpenTelemetry traces.

Defaultcontainer_logs,metrics,otlp_traces
Examples
RTEL_SEND_TO_RETOOL_INPUT_ALLOWLIST=container_logs,metrics,otlp_traces

SCIM_LOG_FULL_REQUESTS

Log SCIM requests to the Retool API container logs.

Type boolean
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Defaultnull
Examples
SCIM_LOG_FULL_REQUESTS=true