<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/05/2013 10:03 PM, Ribhi Kamal
wrote:<br>
</div>
<blockquote
cite="mid:CACkSh6zpQNP-U1Y9m4x2sZdcVTLo1jKqjj-HP9BuKCfsg-FN3w@mail.gmail.com"
type="cite">
<div dir="ltr">I'm having a brain fart here, can some please help
me. I can't seem to get logging to work for the USB proxy kernel
driver (drv_usbproxy). I'm trying to make it show in the
debugger (debugview).
<div>
<br>
</div>
<div>I tried setting logging settings through SUPLoggerCtl and
environment variables but no dice. I compiled vbox in debug
mode with logging enabled and release, same result.</div>
<div><br>
</div>
<div>Here is the environment variables that I tried (Windows
32bit):</div>
<div>set VBOX_LOG="drv_usbproxy"</div>
<div>set VBOX_LOG_DEST="logger"</div>
<div>
<div>
<div><br>
</div>
<div><br>
</div>
<div>Sorry to waste your time with this, I know this
question must have been asked many times.</div>
<div><br>
</div>
-- <br>
-- Ribhi
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
vbox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a class="moz-txt-link-freetext" href="https://www.virtualbox.org/mailman/listinfo/vbox-dev">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a>
</pre>
</blockquote>
<br>
Hm, I'm not sure what you mean by "debug mode with logging enabled
and release". Are you running a release build or a debug build? If
it is a debug build, you need not do anything special to enable
ring-3 logging while building it and for debug logging you need a
debug build.<br>
<br>
Also, I assume when you say "USB proxy kernel driver", you're
referring to the userland proxy device component
(USBProxyDevice-win.cpp) which isn't kernel code but an ioctl
interface to it.<br>
<br>
As for VBOX_LOG for that one you could try: set
VBOX_LOG="+drv_usbproxy.e.l.f" and don't set VBOX_LOG_DEST. I don't
remember where "logger" ends up, but by default I think it should
end up in a debug log file in VirtualBox executable folder. Make
sure there is any existing VBoxSVC process hanging about when you
rebuild things.<br>
<br>
Regards,<br>
Ram.<br>
<br>
</body>
</html>