Cannot stop logs

Discussions related to using VirtualBox on Linux hosts.
Locked
JClosed
Posts: 12
Joined: 6. Aug 2008, 17:58

Cannot stop logs

Post by JClosed »

I just downloaded and installed VirtualBox 1.6.4 rpm. I was using the old 1.6.2 one and uninstalled it by removing the "old" rpm package. Installing the new rpm works without any problem on Mandriva 2008.1.

However - using the old (Windows XP) image (stored in .VirtualBox in the home directory) resulted in a hang of Windows XP at startup. This was not a important image, so I deleted it completely and "installed" a fresh Windows XP. This time it worked without any problem. It is no big deal for me, but I am interested if someone else had the same experience.

Anyway - this is not what I want to ask.

After installing and using VirtualBox 1.6.4 a few times I noticed every time I started up a logfile is written in my home directory. Now I noticed the message about creating the environment variable VBOX_LOG_DEST and assign the value nofile to it and I did follow this advice. It seems, however, this makes no difference at all. Logfiles keep been written in my home directory every time I start a virtual machine. This is really annoying, because it will fill my home directory very rapidly with lots of logfiles. Here is a example of one of those logfiles:

Name of logfile: 2008-08-06-16-25-31.023-VirtualBox-1129.log

Contains:

Log created: 2008-08-06T16:25:31.239860000Z
Executable: /usr/lib/virtualbox/VirtualBox
Arg[0]: /usr/lib/virtualbox/VirtualBox
Arg[1]: -comment
Arg[2]: WinXP
Arg[3]: -startvm
Arg[4]: c1c64888-ba18-472a-aaa3-cb50718fb7c0
remR3NotifyTrap: uTrap=e error=2 next_eip=805a2c72 eip=805a2c72 cr2=e1b2e000
remR3NotifyTrap: uTrap=e error=2 next_eip=bf8139de eip=bf8139de cr2=e2037000
remR3NotifyTrap: uTrap=e error=2 next_eip=804dac8a eip=804dac8a cr2=c0388000
remR3NotifyTrap: uTrap=e error=2 next_eip=bf8139de eip=bf8139de cr2=e1995000
remR3NotifyTrap: uTrap=e error=2 next_eip=bf8139de eip=bf8139de cr2=e1995000
remR3NotifyTrap: uTrap=e error=2 next_eip=bf8139de eip=bf8139de cr2=e1998000
remR3NotifyTrap: uTrap=e error=2 next_eip=bf8139de eip=bf8139de cr2=e1990000
remR3NotifyTrap: uTrap=e error=2 next_eip=bf8139de eip=bf8139de cr2=e2037000

It seems to notify some error, but I am not sure.

Anyway - it seems using the VBOX_LOG_DEST variable wont stop logging. Does anybody knows a way to stop this logging?

My apologies if I made some spelling mistakes. English is not my native language.

On the positive side - I think VirtualBox is great software. I am very pleased about the quality and speed. :wink:
 Edit: 
Sorry - I did not noticed the thread below: logfile appears in homedir since 1.6.4

I folowed the instructions (creating a startup file) and everything works fine now. Setting the environment variable in the .bash_rc file does not seems to work for some reason.

Anyway - the moderator can delete this post. I am really sorry...
 
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

Known issue, we are working on the next release which should be out shortly to fix this problem. Until this, make sure that your environment variables contain
VBOX_LOG_DEST=nofile
(probably in your .xsession or something like that).
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

I am locking this post. Please see the 1.6.4 Release announcement for further details.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Locked