Changes between Version 4 and Version 5 of VBoxLogging
- Timestamp:
- Aug 22, 2011 12:01:29 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VBoxLogging
v4 v5 1 1 = The VirtualBox/IPRT logging facility = 2 2 3 The generic description of the IPRT logging facility is found [http://www.virtualbox.org/browser/trunk/src/VBox/Runtime/VBox/log-vbox.cpp#L27 here].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]. 4 4 5 IPRT log group names are found in [http://www.virtualbox.org/browser/trunk/include/iprt/log.h source]:trunk/include/iprt/log.h[[BR]]6 !VirtualBox log group names are found in [http://www.virtualbox.org/browser/trunk/include/VBox/log.h source]:trunk/include/VBox/log.h5 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] 7 7 8 8 !VirtualBox uses the env.vars `VBOX_LOG`, `VBOX_LOG_DEST` and `VBOX_LOG_FLAGS` to … … 34 34 environment variable "VBOX_LOG_DEST" for debug logging and "VBOX_RELEASE_LOG_DEST" for 35 35 release logging, add the prefix "file=" (if logging to a file) or "dir=" (directory) plus 36 the file name / directory. See "Runtime/common/log/log.cpp" around [http://www.virtualbox.org/browser/trunk/src/Runtime/common/log/log.cpp#L300 line 300]. Example:36 the file name / directory. See [http://www.virtualbox.org/browser/trunk/src/VBox/Runtime/common/log/log.cpp#L300 Runtime/common/log/log.cpp] around line 300. Example: 37 37 38 38 {{{ … … 50 50 sparingly in performance-critical code. 51 51 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 the [http://www.virtualbox.org/browser/trunk/src/Runtime/VBox/log-vbox.cpp source file] src/VBox/Runtime/VBox/log-vbox.cpp.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]. 53 53 54 54 Some notes about group suffixes:[[BR]]