Changes between Version 16 and Version 17 of VBoxLogging
- Timestamp:
- Jan 16, 2015 9:25:49 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VBoxLogging
v16 v17 3 3 The generic description of the IPRT logging facility is found in [/browser/trunk/src/VBox/Runtime/VBox/log-vbox.cpp#L27 Runtime/VBox/log-vbox.cpp]. 4 4 5 IPRT log group names a re found in [/browser/trunk/include/iprt/log.h include/iprt/log.h] [[BR]]6 !VirtualBox log group names a re found in [/browser/trunk/include/VBox/log.h include/VBox/log.h]5 IPRT log group names and logging flags are found in [/browser/trunk/include/iprt/log.h include/iprt/log.h] [[BR]] 6 !VirtualBox log group names and flags are found in [/browser/trunk/include/VBox/log.h include/VBox/log.h] 7 7 8 8 !VirtualBox uses the env.vars `VBOX_LOG`, `VBOX_LOG_DEST` and `VBOX_LOG_FLAGS` to … … 18 18 19 19 {{{ 20 set VBOX_LOG=em=~0 rem* -rem_mmio 21 set VBOX_LOG_FLAGS=buffered thread tsc 20 set VBOX_LOG=em=~0 rem* -rem_mmio # Enable all EM group logging and all level 1 REM* 21 # groups logging except REM_MMIO. 22 set VBOX_LOG_FLAGS=buffered thread tsc # Buffer log output, print thread IDs in the log 23 # statements, print TSC values 22 24 }}} 23 25 … … 25 27 export VBOX_RELEASE_LOG="rem*.e.l.f main gui" 26 28 export VBOX_RELEASE_LOG_FLAGS="buffered thread msprog" 29 # Disable the limit of log entries from each group 30 export VBOX_RELEASE_LOG_FLAGS=-restrict_groups 27 31 }}} 28 32 … … 108 112 '''NOTE:''' If you have release build of GAs installed into your Windows guest, please also consider to set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxGuest\LoggingEnabled registry key to value 0xFF (DWORD 32bit) in order to enable R3 logging into VMM backdoor. 109 113 114 == Changing settings using VBoxManage == 115 116 The VBoxManage command line tool can be used to change the log settings of a running virtual machine. Examples: 117 118 {{{ 119 $ VBoxManage debugvm <name> log --release +dev_vga.e.l.f 120 $ VBoxManage debugvm <name> logdest --debug stdout 121 $ VBoxManage debugvm <name> logflags --release -restrict_groups 122 $ VBoxManage debugvm <name> show logdbg-settings 123 }}} 124 110 125 == Changing settings inside a debugger == 111 126 112 Logging settings can be changed at runtime using a debugger. Here are two examples with gdb:127 Logging settings can be changed at runtime using a debugger. This is mainly useful for VBoxSVC. Here are two examples with gdb: 113 128 114 129 {{{