VirtualBox

Changes between Initial Version and Version 1 of AdditionsLogging


Ignore:
Timestamp:
Sep 22, 2017 1:18:40 PM (7 years ago)
Author:
pentagonik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdditionsLogging

    v1 v1  
     1== Windows Guest Additions ==
     2
     3Note: All following modifications need Administrator rights in the guest VM!
     4Also, the directory C:\Temp must exist on the guest.
     5
     6Open the registry editor (regedit.exe) and add the key:
     7
     8{{{
     9HKLM\SYSTEM\CurrentControlSet\Services\VBoxGuest\LoggingEnabled = 0xFF (REG_DWORD)
     10}}}
     11
     12There currently is no common / generic way of enabling logging for all guest-side components, e.g. for the auto-logon components (VBoxGINA and VBoxCredProv) there are registry keys which must be used in conjunction with the key above:
     13
     14=== Auto-Logon (Windows) ===
     15
     16{{{
     17HKLM\SOFTWARE\Oracle\VirtualBox Guest Additions\AutoLogon\LoggingEnabled = 0xFF (REG_DWORD)
     18HKLM\SOFTWARE\Oracle\VirtualBox Guest Additions\AutoLogon\LoggingLevel = 0xFF (REG_DWORD)
     19}}}
     20
     21=== VBoxTray ===
     22
     23At the moment only an instrumented (debug) build will help here.
     24
     25=== VBoxService ===
     26
     27{{{
     28HKLM\SYSTEM\CurrentControlSet\Services\VBoxService\ImagePath = "system32\VBoxService.exe -vvvv --logfile c:\Temp\VBoxService.log" (REG_EXPAND_SZ)
     29}}}
     30
     31=== Miscellaneous ===
     32
     33For the other components (like Shared Folders) it should be sufficient to enable the guest driver registry key in order to let through the guest's debug logging into the VBox.log on the host.
     34
     35Note: The host limits the number of guest log entries by default (per log group). To enable unlimited logging of all components the host environment variable
     36
     37{{{
     38VBOX_RELEASE_LOG="-all.restrict"
     39}}}
     40
     41must be set. Otherwise we have a limit of 32k entries per logging group.

© 2023 Oracle
ContactPrivacy policyTerms of Use