Ino Print Log
Print to the console mid-graph — and pass a value through while you're at it
- relay
- output
Debugging a ComfyUI workflow is mostly squinting at the terminal. InoPrintLog makes that deliberate: it's a node you drop anywhere in the graph that prints a message to the ComfyUI console and passes whatever value you give it straight through on the other side. So it doubles as both a logger and a pass-through - you can instrument a wire without breaking the flow, which is exactly what you want when you're tracing why an image looks wrong at step three of six.
The relay design is the smart part. The relay input accepts a match-type (any) value and the output echoes it unchanged, so you can splice this node inline: wire your IMAGE or string through relay, and the same value comes out output while a log_message of your choosing hits the console. That makes it a non-destructive probe rather than a dead-end debug node.
How it works
Inputs: enabled (a toggle - every Ino node has one), relay (any type, passed through unchanged), and log_message (a multiline STRING, default "Log message" - this is what gets printed).
Output: output - the same value as relay, unchanged.
Set log_message to something descriptive like "After face restore, batch size:" and add a value via the relay if you need it in the log. The node is marked as an output node, so it shows up in the graph as a terminal-ish box, but because it passes values through it's safe to place mid-chain.
One thing to know about logging in this pack: your log_message goes through the same debug-gated ino_print_log used by every other Ino node, and that only prints when the pack's debug flag is on. The pack captures terminal output at import and gates all ino_print_log calls behind the COMFYUI_INO_DEBUG=1 environment variable. So if you run the node and see nothing in the console, that's the default - set the env var and it starts talking.
Installing it
Part of the 125+-node ComfyUI-InoNodes pack by nobandegani:
cd ComfyUI/custom_nodes
git clone https://github.com/nobandegani/comfyui_ino_nodes
cd comfyui_ino_nodes
pip install -r requirements.txt
ComfyUI Manager users: search "ComfyUI Ino Nodes", install, restart. V3 schema pack - keep ComfyUI current.
Common issues
The main frustration is invisible logging: set COMFYUI_INO_DEBUG=1 in the environment (wherever ComfyUI starts) and restart before you expect any ino_print_log output - including this node's own log_message, since it's gated the same way. Also remember relay is a pass-through, not a source - if nothing is wired in, output reflects whatever ComfyUI passes for an unconnected input, so don't build logic on the pass-through value unless you actually fed it something. It's a debugging instrument, and it works best when you treat it that way: add it, read the console, remove it.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| enabled | BOOLEAN | true | — |
| relay | COMFY_MATCHTYPE_V3 | — | |
| log_message | STRING | Log message | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | COMFY_MATCHTYPE_V3 | — |