Changes between Version 9 and Version 10 of VBoxLogging
- Timestamp:
- Feb 13, 2013 2:19:58 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VBoxLogging
v9 v10 84 84 }}} 85 85 86 ... and on the guest (for doing this in ring-0 bits see the section on ring-0 above) :86 ... and on the guest (for doing this in ring-0 bits see the section on ring-0 above), restart the component you wish to log with: 87 87 88 88 {{{ … … 90 90 }}} 91 91 92 '''Note:''' You need to have the '''debug''' Guest Additions (that is, a debug version of VBoxGuest.<ext>) installed on the guest VM in order to make logging work with other guest components! 92 '''Note:''' You need to have the '''debug''' Guest Additions (that is, a debug version of VBoxGuest.<ext>) installed on the guest VM in order to make logging from other guest components go to the host log file. Otherwise you can have them log to a file on the guest, e.g. on an X11 guest you can stop the clipboard component and restart it as: 93 {{{ 94 $ VBOX_RELEASE_LOG_DEST=file=/tmp/clipboard.log VBOX_RELEASE_LOG=+all.e.l.f VBoxClient -d --clipboard 95 }}} 93 96 94 97 '''Legacy warning:''' If "LOG_TO_BACKDOOR" is defined you might end up having cluttered logfiles if you use format specifiers (e.g. "%s") in your debug statements. Undefine / delete this define to use the "regular" IPRT way of logging things.