Skip to content

Commit

Permalink
Enable VNC debug logging
Browse files Browse the repository at this point in the history
When setting `window.debugging = "vnc"`, enable VncConsole's debug
logging. This is particularly helpful for logging console resize
requests from the client (Cockpit) as well as resize announcements from
libvirt.

https://issues.redhat.com/browse/RHEL-73808
  • Loading branch information
martinpitt authored and mvollmer committed Jan 14, 2025
1 parent 77ad717 commit 65b6d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/vm/consoles/vnc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class Vnc extends React.Component {
encrypt={encrypt}
shared
credentials={credentials}
vncLogging='warn'
vncLogging={ window.debugging?.includes("vnc") ? 'debug' : 'warn' }
onDisconnected={this.onDisconnected}
onInitFailed={this.onInitFailed}
additionalButtons={additionalButtons}
Expand Down

0 comments on commit 65b6d23

Please sign in to comment.