- debug logs for engine internals
- execution audit records
- resource usage metrics
- optional network request logs
Debug logging
CLI
Library
- pool acquisition/release behavior
- container lifecycle operations
- persist/cleanup decisions
- request-level execution timing signals
Audit logging
Enable in config:audit.destination currently supports filesystem and stdout.
The default log file path is ./.isol8_audit/executions.log unless audit.logDir (or ISOL8_AUDIT_DIR) is set.What gets recorded
Audit records can include:- execution identifiers and timestamps
- runtime, exit code, duration
- code hash
- metadata (when provided)
- security/network events
- resource usage metrics
includeCode and includeOutput, source and output may also be persisted.
Resource usage telemetry
When resource tracking is enabled,ExecutionResult may include:
resourceUsage.cpuPercentresourceUsage.memoryMBresourceUsage.networkBytesInresourceUsage.networkBytesOut
- anomaly detection (sudden memory spikes)
- capacity planning (baseline CPU/memory per workload)
- policy tuning (timeouts and limits)
Network logs
When both conditions are true:network = "filtered"logNetwork = true
ExecutionResult.networkLogs can include per-request allow/block entries.
This is especially useful when debugging allowlist/denylist policy behavior.
networkLogs are only returned when both network: "filtered" and logNetwork: true are set.Retention and privacy guidance
- Keep
includeCodeandincludeOutputdisabled by default. - Configure retention (
retentionDays) for compliance requirements. - Restrict filesystem permissions on audit directories.
- Use metadata carefully (avoid PII unless required).
Quick verification
Example incident workflow
- Re-run failing task with
--debug. - Inspect
exitCode,stderr,durationMs, andtruncated. - Review
resourceUsagefor saturation. - If filtered mode is used, inspect
networkLogsfor blocked hosts. - Correlate with audit entries by
executionId.
FAQ
Why do I not see `resourceUsage` in ExecutionResult?
Why do I not see `resourceUsage` in ExecutionResult?
resourceUsage is only populated when audit logging with trackResources is enabled.Why are `networkLogs` missing even with filtered mode?
Why are `networkLogs` missing even with filtered mode?
You need both
network: "filtered" and logNetwork: true. If either is missing, network logs are omitted.Where are filesystem audit logs written by default?
Where are filesystem audit logs written by default?
By default, logs are written under
./.isol8_audit in the current working directory, unless overridden by audit.logDir or ISOL8_AUDIT_DIR.Troubleshooting quick checks
- No audit records written: verify
audit.enabled: trueand a supportedaudit.destination. - Expected code/output not in audit: check
audit.includeCode/audit.includeOutput. - Old logs not deleted: ensure
audit.retentionDays > 0and log directory permissions allow cleanup. - Missing network diagnostics: ensure both
network: "filtered"andlogNetwork: true.
Related pages
Configuration reference
Full
audit config fields, defaults, and precedence.Security and network
Understand filtered networking, allow/deny rules, and security tradeoffs.
Execution guide
Execution result fields, streaming behavior, and output semantics.
Troubleshooting
Diagnose runtime, logging, and server failures.