Log (INT)
Watch your seeds and counters without guessing
- INT
When a workflow runs and the output isn't what you expected, the first question is usually "what seed actually got used?" - and ComfyUI doesn't exactly volunteer that answer. Log (INT) (LogInt) prints the integer flowing through a wire to the console, then passes it along untouched. It's the integer member of RF Nodes' Log family, and for debugging seeds, counters, and step values it's the one you'll actually leave in the graph.
How it works
Identical to the pack's other Log nodes, just typed: LogToConsole(prefix, value) prints a cyan line to the terminal you launched ComfyUI from, and the node returns the value unchanged. Because it's a passthrough, you splice it into a wire - say, between the seed source and the sampler - and it both reports and forwards.
The inputs that matter
- value - an INT,
forceInput, so it must be wired. A seed output, a counter, whatever integer you're curious about. - prefix - the label printed before the value (default
Value:). Set it to something likeseed:so you can find the line in a busy console.
Output: INT - the same integer, unchanged, wired onward as if the node weren't there.
Where it earns its keep
Batch runs. A workflow that walks through seeds or steps via a counter is exactly the situation where you want confirmation the right integer arrived at the right node. Drop a LogInt on the seed wire, set the prefix to seed:, run, and you get a record of every value in the console - without adding file I/O to the graph. If you're the kind of person who screenshots a full batch to compare later, this is your audit log.
The trade-off to know: the log goes to the terminal, not the browser. If you started ComfyUI from a desktop icon you may never see the output at all - run it from a terminal.
Installing RF Nodes
No dependencies, no models. Via ComfyUI Manager search "RF Nodes", or:
cd ComfyUI/custom_nodes
git clone https://github.com/foxtrot-roger/comfyui-rf-nodes
Restart ComfyUI; the node is under RF in the menu.
Common issues
- "Nothing prints." - Check where ComfyUI is actually running. Log nodes write to the console process, and a GUI-launched instance can hide it entirely.
- "Same value every run." - You're logging a constant. Log something that changes (a seed-driven counter) and you'll see movement.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| value | INT | — | |
| prefixopt | STRING | Value: | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |