Logging facility explanation

Discussions related to using the OSE version of VirtualBox.
Post Reply
Yurii Cherkasov
Posts: 10
Joined: 9. Mar 2018, 08:14

Logging facility explanation

Post by Yurii Cherkasov »

Hello,

Intro: VirtualBox-5.2.2-r119230-MultiArch compiled in Release configuration and installed on Windows 7 x64.

Trying to enable all possible logging (VirtualBox.exe, VBoxSVC.exe, ring-0 context).

Added env variables as described in documentation

Code: Select all

VBOXSVC_RELEASE_LOG=main.e.l.f+gui.e.l.f
VBOXSVC_RELEASE_LOG_DEST=C:\Users\atatat\.VirtualBox
VBOXSVC_RELEASE_LOG_FLAGS=time tid thread
Severity of logs which located in $HOME/.VirtulaBox seems to be not very deep. Is there analog of INF0/WARN/DEBUG/TRACE flags in IPRT logging module?
How to enable all possible output from GUI and service?

The next problem is with ring-0 context. VirtualBox is compiled with

Code: Select all

VBOX_WITH_R0_LOGGING := 1
instruction in LocalConfig.kmk
According to documentation
When using this hack the ring-0 logger will mostly use the same settings as the ring-3 logger
. Not sure what does it mean, and don't see in .VirtualBox dir any logs look like they came from drivers.
Post Reply