Skip to main content
Activepieces exports structured logs via evlog. Each API request and worker job execution emits a single wide-event JSON object including duration, status, and sampling context.

Log Export Variables

VariableDescriptionDefault ValueExample
AP_OTEL_ENABLEDExport logs via OTLP log drain (no traces or metrics)falsetrue
OTEL_EXPORTER_OTLP_ENDPOINTOTLP endpoint for log exportNonehttps://your-collector:4317
OTEL_EXPORTER_OTLP_HEADERSHeaders for OTLP exporter (comma-separated key=value pairs)NoneAuthorization=Bearer token

Sampling Variables

VariableDescriptionDefault Value
AP_LOG_SAMPLE_RATE_INFOPercentage of info-level events to keep (0–100)100
AP_LOG_KEEP_SLOW_MSAlways keep requests slower than this threshold (ms)2000
Events with level warn or error are always kept regardless of sampling configuration. AP_OTEL_ENABLED=true enables the OTLP log drain only — OpenTelemetry tracing and metrics are no longer emitted.