VirtualBox

Changes between Version 10 and Version 11 of VBoxLogging


Ignore:
Timestamp:
Feb 25, 2013 2:53:17 PM (11 years ago)
Author:
Michael Thayer
Comment:

Pointer to example for guest R3 logging.

Legend:

Unmodified
Added
Removed
Modified
  • VBoxLogging

    v10 v11  
    9090}}}
    9191
    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 }}}
     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.  '''However''', you can still get some logging - to a file on the guest - from release components.  See the example of the [wiki:X11Clipboard#GuestLogging X11 guest shared clipboard component].
    9693
    9794'''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.

© 2023 Oracle
ContactPrivacy policyTerms of Use