Page 1 of 1

Disable Logfiles

Posted: 18. Feb 2015, 15:39
by Roman78
Hello to all,

I use virtualbox a lot for experimenting whit other operating systems, now I discovered some 4 gig of logfiles. I don't need logfiles, so i deleted those. But how can i disable the logfiles.

Well.. i googled.. and found this:
The correct way to completely disable logging is to set environment variables. You might want to set these variables in the global user variables:

VBOX_RELEASE_LOG_DEST=nofile
VBOXSVC_RELEASE_LOG_DEST=nofile
VBOX_GUI_SELECTORWINDOW_RELEASE_LOG_DEST=nofile
Source: can't be posted, have to wait until tomorrow (new user policy).

Now my question, were can I find those Global User Variables?

I found XML files in C:\Users\%username%\.VirtualBox\ and C:\Users\%username%\VirtualBox VMs, the last one are all the machines, so it must be in the first one (or somewhere else?)...

Re: Disable Logfiles

Posted: 18. Feb 2015, 15:42
by Martin
Global environment variables in Windows are defined in the system settings.

Re: Disable Logfiles

Posted: 18. Feb 2015, 16:09
by Roman78
Maybe I'm to dumb for this, but were can I find those?

Re: Disable Logfiles

Posted: 18. Feb 2015, 16:19
by Martin

Re: Disable Logfiles

Posted: 18. Feb 2015, 16:44
by Roman78
Aha, in the system variables... and I was looking at VBox variables.

Thanks...

Let see if it's working...

Re: Disable Logfiles

Posted: 24. Feb 2015, 07:16
by Roman78
I can report: It is not working.

So.. how do I disable those Log files?

Re: Disable Logfiles

Posted: 24. Feb 2015, 16:06
by Perryg
Can't be sure because you have not posted the link where you got this information but the commands you listed are usually ones that are passed while compiling. If you self compile put them in the LocalConfig.kmk file and rebuild.

You might want to read this section of the users guide about loghistorycount
http://www.virtualbox.org/manual/ch08.h ... etproperty
Setting at zero should do what you want, at least for the guests log file, but I would suggest you setting it to one in case you ever need help.

Re: Disable Logfiles

Posted: 26. Feb 2015, 07:11
by Roman78
Well I could not place a Link because it was my first post on the first day. But now I can. I found the information here: https://www.virtualbox.org/ticket/11988

I'll try your link.

/edit: I did not compiled it myself, just downloaded the Windows version.

Re: Disable Logfiles

Posted: 27. Feb 2015, 13:55
by noteirak
frank confirmed these are environment variables