Log (FLOAT)
Check what CFG, denoise, or strength value actually made it through
- FLOAT
Floats are the quiet troublemakers of ComfyUI. CFG, denoise, LoRA strength - they all ride along as numbers you set in one node and hope arrive unmodified in another, and when the output looks wrong you can't always tell which value actually made it. Log (FLOAT) (LogFloat) prints the float flowing through a wire to the console and passes it through untouched. It's the float member of the RF Nodes Log family, and it's the one you wire onto a CFG or denoise wire when the result doesn't match the settings you're sure you set.
How it works
Same machinery as the pack's other Log nodes: LogToConsole(prefix, value) prints a cyan line to the terminal running ComfyUI, then the node returns the value unchanged. The passthrough means it never interrupts your graph - splice it in, observe, move on.
The inputs that matter
- value - a FLOAT,
forceInput, so it must be wired from a node output. - prefix - the label before the value (default
Value:).cfg:,denoise:,strength:- whatever makes the line obvious.
Output: FLOAT - the same value, unchanged, passed along.
When you'd use it
Anywhere a float is transformed before use. A workflow that computes denoise from a formula, scales a strength by a factor, or passes CFG through a batch of nodes is where a surprising 0.2 you didn't expect becomes a visible, searchable console line instead of a mystery render. Logging at the point of use - right before the sampler - tells you the effective value, not the one you typed.
One thing to keep in mind: floats print with Python's default representation, so 0.30000000000000004-style noise is possible when arithmetic happened upstream. That's the number, honestly reported - if it looks wrong, the arithmetic was wrong, and the Log node just caught it.
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; it's under RF in the menu.
Common issues
- "Nothing shows up." - Logs go to the terminal you launched ComfyUI from, not the browser. GUI-launched instances can hide them entirely.
- "The value looks like float noise." - See above: that's the real value, not a display bug. If clean decimals matter for your logs, format before logging.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| value | FLOAT | — | |
| prefixopt | STRING | Value: | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |