VirtualBox

Changes between Version 7 and Version 8 of VBoxLogging


Ignore:
Timestamp:
12/21/11 10:12:17 (2 years ago)
Author:
bird
Comment:

Rewrote the ring-0 context logging section.

Legend:

Unmodified
Added
Removed
Modified
  • VBoxLogging

    v7 v8  
    99control debug log output and `VBOX_RELEASE_LOG`, `VBOX_RELEASE_LOG_DEST` and 
    1010`VBOX_RELEASE_LOG_FLAGS` to control release log output.  Logging settings can also be 
    11 changed at runtime using the debugger. 
     11changed at runtime using the debugger, and starting with 4.1.8 via `VBoxManage debugvm`. 
    1212 
    1313Examples: 
     
    5050sparingly in performance-critical code. 
    5151 
    52 To enable ring-0 logging add VBOX_WITH_R0_LOGGING=1 to !LocalConfig.kmk or pass it to kmk in the command line (this part is not necessary for guest ring-0 logging) and set up logging preferences in [/browser/trunk/src/VBox/Runtime/VBox/log-vbox.cpp src/VBox/Runtime/VBox/log-vbox.cpp]. 
     52Logging from ring-0 context is by default using a hardcoded config found in [/browser/trunk/src/VBox/Runtime/VBox/log-vbox.cpp#L469 Runtime/VBox/log-vbox.cpp]. Since it would generally be more useful to get the ring-0 context log output in the same log file as the ring-3 and raw-mode context log statements when debugging VMM issues on the host, we've created little hack for doing so: Add VBOX_WITH_R0_LOGGING=1 to !LocalConfig.kmk or pass it to kmk in the command line. When using this hack the ring-0 logger will mostly use the same settings as the ring-3 logger. 
    5353 
    5454Some notes about group suffixes:[[BR]] 

www.oracle.com
ContactPrivacy policyTerms of Use