<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.571428298950195px">I am trying to turn on logging for operations in VD.cpp & VMDK.cpp. I have tried several options with no success.<br></div><div style="font-family:arial,sans-serif;font-size:12.571428298950195px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.571428298950195px">I am on OS X host running Mountain Lion.</div><div style="font-family:arial,sans-serif;font-size:12.571428298950195px"><br></div><div style="font-family:arial,sans-serif;font-size:12.571428298950195px">
I have tried turning on the logs by setting the env variables and running VirtualBox client manually from the same shell (which starts VBoxSvc as well) followed by VirtualBoxVM also from that shell. Here is what I have tried.</div>
<div style="font-family:arial,sans-serif;font-size:12.571428298950195px"><br></div><div style="font-family:arial,sans-serif;font-size:12.571428298950195px"><div>qvs-MacBook-Pro:Logs qv$ env | grep VB</div><div>VBOX_LOG_FLAGS=time tid thread</div>
<div>VBOX_LOG=+main.e.l.f+defualt.e.l.f+VD.e.l.f+VD_VMDK.e.l.f</div><div>qvs-MacBook-Pro:Logs qv$ VirtualBox &</div><div>[1] 3175</div><div>qvs-MacBook-Pro:Logs qv$ /Applications/VirtualBox.app/Contents/MacOS/../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM --comment ubuntu-gnome-13.04 --startvm 0daa22b1-4869-4173-bc36-64ee3a558841 --no-startvm-errormsgbox &</div>
<div>[2] 3180</div><div><br></div><div><br></div><div>I have run gdb on VirtualBoxVM, attached to the running process and tried calling RTLogGroupSettings(0, "+main.e.l.f+defualt.e.l.f+VD.e.l.f+VD_VMDK.e.l.f");</div>
<div><br></div><div>I have tried putting the env variables in my .bash_profile and then starting VirtualBox client from the Launchpad and the VM from VirtualBox still to no avail.</div><div><br></div><div>Do I need a debug image to turn on this logging? Or is this is a OSX issue? Am I missing some steps?</div>
<div><br></div><div>I have also spent some time browsing thru the vbox-log.cpp & log.cpp but haven't got any clues.</div><div><br></div><div>Would greatly appreciate any help with this.</div><div><br></div><div>Thanks,</div>
<div>Quaizar</div></div></div>