Nodes/ComfyUI-DiffusionGemma/DiffusionGemma Run Log Writer
ComfyUI Node

DiffusionGemma Run Log Writer

Writes a schema'd JSONL run log to disk — one header record, one record per captured frame (with its decoded step text), one final record. Wire it from ONE sampler-class node (DGemmaSampler or DGemmaDenoise): run_config, canvas_trace, frames, and canvas_state all come from that same node's outputs. debug_log_path is always a directory and filename_prefix names the file — the writer creates the directory if missing and writes {filename_prefix}_{timestamp}.jsonl inside it; leave debug_log_path empty to use ComfyUI's output directory. Returns the written log's path.

By shanevcantwell·Created 2 months ago·Updated 11 days ago· 1
DiffusionGemma Run Log Writer
  • canvas_trace
  • run_config
  • canvas_state
  • log_path
frames
filename_prefixdgemma_run_log
debug_log_path
CategoryDiffusionGemma

Inputs (6)

NameTypeDefaultDescription
canvas_traceDGEMMA_CANVAS_TRACEPer-step trace from the sampler-class node that produced this run.
run_configDGEMMA_RUN_CONFIGRun header bundle from the SAME sampler-class node (seed, knobs, model identity).
framesSTRINGThe decoded per-step strings from the same node's frames output.
canvas_stateDGEMMA_CANVAS_STATEThe final save-state from the same node's canvas_state output.
filename_prefixSTRINGdgemma_run_logThe FILE name stem. The log is written as {filename_prefix}_{timestamp}.jsonl.
debug_log_pathoptSTRINGA DIRECTORY to write into (created if missing) — NOT a file path. The file name comes from filename_prefix. Leave empty to use ComfyUI's output directory. A trailing slash or a .jsonl-looking value is still treated as a directory.

Outputs (1)

NameTypeDescription
log_pathSTRING