Skip to content

Remove leftover debug printf from EncodeManager::doUpdate#359

Closed
gaberudy wants to merge 1 commit into
kasmtech:masterfrom
goldenhelix:fix/remove-debug-printf-from-encodemanager
Closed

Remove leftover debug printf from EncodeManager::doUpdate#359
gaberudy wants to merge 1 commit into
kasmtech:masterfrom
goldenhelix:fix/remove-debug-printf-from-encodemanager

Conversation

@gaberudy
Copy link
Copy Markdown

@gaberudy gaberudy commented May 3, 2026

printf("TOTAL FRAME TOOK: %d\n", ...) runs once per frame on every connection, spamming the kasmvncserver log/console with one line per encode. This appears to be a debug aid left in from the VNC-151 video encoding work.

No behavior change beyond removing the noise.

`printf("TOTAL FRAME TOOK: %d\n", ...)` runs once per frame on every
connection, spamming the kasmvncserver log/console with one line per
encode. This appears to be a debug aid left in from the VNC-151 video
encoding work — there's no flag gating it and the surrounding code uses
the project's `vlog` facility for real diagnostics.

No behavior change beyond removing the noise.
@mmcclaskey
Copy link
Copy Markdown
Collaborator

@gaberudy , thank you for identifying this. This was rolled in with a recent set of refinements and is now on master.

@mmcclaskey mmcclaskey closed this May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants