VirtualBox

Changes between Version 6 and Version 7 of VBoxLogging


Ignore:
Timestamp:
Oct 17, 2011 9:07:30 AM (13 years ago)
Author:
Frank Mehnert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VBoxLogging

    v6 v7  
    11= The VirtualBox/IPRT logging facility =
    22
    3 The generic description of the IPRT logging facility is found in [http://www.virtualbox.org/browser/trunk/src/VBox/Runtime/VBox/log-vbox.cpp#L27 Runtime/VBox/log-vbox.cpp].
     3The 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].
    44
    5 IPRT log group names are found in [http://www.virtualbox.org/browser/trunk/include/iprt/log.h include/iprt/log.h] [[BR]]
    6 !VirtualBox log group names are found in [http://www.virtualbox.org/browser/trunk/include/VBox/log.h include/VBox/log.h]
     5IPRT log group names are found in [/browser/trunk/include/iprt/log.h include/iprt/log.h] [[BR]]
     6!VirtualBox log group names are found in [/browser/trunk/include/VBox/log.h include/VBox/log.h]
    77
    88!VirtualBox uses the env.vars `VBOX_LOG`, `VBOX_LOG_DEST` and `VBOX_LOG_FLAGS` to
     
    3434environment variable "VBOX_LOG_DEST" for debug logging and "VBOX_RELEASE_LOG_DEST" for
    3535release logging, add the prefix "file=" (if logging to a file) or "dir=" (directory) plus
    36 the file name / directory. See [http://www.virtualbox.org/browser/trunk/src/VBox/Runtime/common/log/log.cpp#L265 Runtime/common/log/log.cpp] around line 265.  Example:
     36the file name / directory. See [/browser/trunk/src/VBox/Runtime/common/log/log.cpp#L265 Runtime/common/log/log.cpp] around line 265.  Example:
    3737
    3838{{{
     
    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 [http://www.virtualbox.org/browser/trunk/src/VBox/Runtime/VBox/log-vbox.cpp src/VBox/Runtime/VBox/log-vbox.cpp].
     52To 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].
    5353
    5454Some notes about group suffixes:[[BR]]

© 2023 Oracle
ContactPrivacy policyTerms of Use