Skip to content

Commit be51bd7

Browse files
authored
Merge pull request #8 from rohankanojia-forks/pr/doc-hypervisor-serial-logs
doc : Add info about hypervisor log file locations for troubleshooting (#3688)
2 parents 0e29ee2 + de9098e commit be51bd7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

modules/ROOT/pages/troubleshooting.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,13 @@ If your issue is not resolved by this procedure, perform the following steps:
175175

176176
. link:https://github.com/crc-org/crc/issues[Search open issues] for the issue that you are encountering.
177177
. If no existing issue addresses the encountered issue, link:https://github.com/crc-org/crc/issues/new[create an issue] and link:https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests[attach the [filename]*_~/.crc/crc.log_* file] to the created issue.
178-
The [filename]*_~/.crc/crc.log_* file has detailed debugging and troubleshooting information which can help diagnose the problem that you are experiencing.
178+
The [filename]*_~/.crc/crc.log_* file has detailed debugging and troubleshooting information which can help diagnose the problem that you are experiencing. In case you're looking for more detailed information about virtual machine startup, state transitions and errors you can
179+
look into serial console logs created by virtual machine hypervisors. Here are the locations where you can find these logs:
180+
- **libvirt**: In case of https://libvirt.org/kbase/debuglogs.html[libvirt], you can find the log file in `/var/log/libvirt/qemu/crc.log`
181+
- **vfkit**: In case of https://github.com/crc-org/vfkit[vfkit], you can find log file in `~/.crc/vfkit.log`
182+
- **hyper-v**: In case of Hyper-V, there are several options to get logs:
183+
* **Event Logs for Hyper-V**: Go to start and open `Event Viewer`, then navigate to `Applications and Services Logs` → `Microsoft` → `Windows`. Here you should be able to find some options for `Hyper-V`,
184+
click on `Hyper-V-VMMS` for Hyper-V Virtual Machine Management logs and `Hyper-V-Worker` for Hyper-V Worker logs.
185+
* **VM Configuration Logs**: Each VM has a set of logs that can be found in the VM configuration folder. By default, this is located in the `C:\ProgramData\Microsoft\Windows\Hyper-V` folder. For each VM, there is a file called Virtual Machine Log File (`vmname.evtx`)
186+
that records the events related to that particular VM.
187+

0 commit comments

Comments
 (0)