Logging
Floe can emit structured run events for orchestrators like Dagster/Airflow.
Default (no flag)
Section titled “Default (no flag)”- Intended for interactive CLI use.
- Prints a human summary at the end of the run.
--log-format json
Section titled “--log-format json”- Intended for orchestrators.
- stdout is NDJSON only: one JSON object per line.
- stderr contains human output (summary, warnings, errors).
Each JSON line includes:
schema: "floe.log.v1"(stable)level: "info" | "warn" | "error"(stable)event: ...plus event-specific fields
The final line on stdout is always the run_finished event.
Event types
Section titled “Event types”run_started: run metadata (run_id,config,report_base,ts_ms); inside a Dagster run alsodagster_run_idanddagster_job_name, read fromDAGSTER_RUN_IDandDAGSTER_JOB_NAME(absent when unset)entity_started: entity name (name,ts_ms)file_started: entity/input pair (entity,input,ts_ms)file_finished: file outcome and counts (status,rows,accepted,rejected,elapsed_ms,ts_ms)schema_evolution_applied: additive schema-evolution audit event (entity,mode,added_columns,ts_ms); emitted once per entity run in whichadd_columnsadds columns to an Iceberg tableentity_finished: entity totals (status,files,rows,accepted,rejected,warnings,errors,timings_ms,ts_ms);timings_msis the entity report’s object (list_ms,download_wait_ms,read_validate_ms,rejected_write_ms,accepted_write_ms,archive_ms), ornullfor a failed entity;report_uriis the entity’srun.json(the same string asrun_finished.entity_report_uris); a failed entity has noreport_uri, and haserror_codewhen the error carries a typedcoderun_finished: final run totals and exit code (status,exit_code,files,rows,accepted,rejected,warnings,errors,summary_uri,report_write_ms,ts_ms);report_write_msis the time to writerun.summary.json
timings_ms
Section titled “timings_ms”Cumulative wall-clock milliseconds per phase of one entity, summed over its files; the boundaries are in report.md. The phases overlap (reading, validating and the accepted write interleave chunk by chunk, and downloads run ahead), so download_wait_ms is only the time spent waiting, and the sum is not the entity’s elapsed time. null means the phase did not run; 0 means it ran in under a millisecond. The Iceberg commit is part of accepted_write_ms.
log: structured warning/error line (log_level,code,message, optionalentity, optionalinput,ts_ms)error_code(optional): the typedcodeof the error behind the failure-report log; absent when the error has none.codestaysrun_failure_report.codeisnullor a stable snake_case tag. Today:heartbeat_failed(warn): renewing the incremental claims failed; the run continues and the next beat retries, but the claims expire after an hour without a successful renewal.
--log-format off (default)
Section titled “--log-format off (default)”- Suppresses all structured event output.
- Human summary is still printed to stderr at the end of the run.
- OpenLineage events are still posted when
lineage:is configured — log format does not gate lineage emission. - Lineage HTTP errors (401, timeouts) are emitted as warnings to stderr even when log output is otherwise suppressed.
--log-format text
Section titled “--log-format text”- Prints the same lifecycle events as plain text lines.
- A failure line (
log,entity_finished) addserror_code=<code>when the error carries a typed code; see Error codes. - Also prints the human end-of-run summary.
Examples
Section titled “Examples”Orchestrator parsing (conceptual)
Section titled “Orchestrator parsing (conceptual)”floe run -c config.yml --log-format json | jq -cr 'select(.event == "run_finished")'Split streams
Section titled “Split streams”# machine eventsfloe run -c config.yml --log-format json > events.ndjson
# human logsfloe run -c config.yml --log-format json 2> run.logSchema evolution event
Section titled “Schema evolution event”{"schema":"floe.log.v1","level":"info","event":"schema_evolution_applied","run_id":"2026-03-11T16-31-00Z","entity":"customer","mode":"add_columns","added_columns":["email"],"ts_ms":1741710660000}Synced from floe @ v1.1.0 (313b534), docs/reference/logging.md.