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.
DiffusionGemma Run Log Writer
- canvas_trace
- run_config
- canvas_state
- log_path
◄frames—►
◄filename_prefixdgemma_run_log►
◄debug_log_path►
CategoryDiffusionGemma
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| canvas_trace | DGEMMA_CANVAS_TRACE | Per-step trace from the sampler-class node that produced this run. | |
| run_config | DGEMMA_RUN_CONFIG | Run header bundle from the SAME sampler-class node (seed, knobs, model identity). | |
| frames | STRING | The decoded per-step strings from the same node's frames output. | |
| canvas_state | DGEMMA_CANVAS_STATE | The final save-state from the same node's canvas_state output. | |
| filename_prefix | STRING | dgemma_run_log | The FILE name stem. The log is written as {filename_prefix}_{timestamp}.jsonl. |
| debug_log_pathopt | STRING | A 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)
| Name | Type | Description |
|---|---|---|
| log_path | STRING | — |