Skip to content

Add --debug LogLevel plumbing for hypervisor diagnostics#30

Merged
JAORMX merged 1 commit intomainfrom
macos/debug-loglevel
Mar 11, 2026
Merged

Add --debug LogLevel plumbing for hypervisor diagnostics#30
JAORMX merged 1 commit intomainfrom
macos/debug-loglevel

Conversation

@jhrozek
Copy link
Copy Markdown
Contributor

@jhrozek jhrozek commented Mar 11, 2026

Wire LogLevel through domain (VMConfig), application (RunOpts), and
infrastructure (WithLogLevel) layers. When --debug is set, LogLevel=5
enables libkrun trace output in vm.log for diagnosing boot and
runtime issues.

Also add debug logging for terminal setup (interactive check, raw
mode, PTY allocation) to aid SSH session troubleshooting.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Wire LogLevel through domain (VMConfig), application (RunOpts), and
infrastructure (WithLogLevel) layers. When --debug is set, LogLevel=5
enables libkrun trace output in vm.log for diagnosing boot and
runtime issues.

Also add debug logging for terminal setup (interactive check, raw
mode, PTY allocation) to aid SSH session troubleshooting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JAORMX JAORMX merged commit 1650474 into main Mar 11, 2026
7 checks passed
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