Move where log files are stored?

Discussions related to using VirtualBox on Linux hosts.
Locked
manicnerd
Posts: 4
Joined: 25. Aug 2008, 04:13

Move where log files are stored?

Post by manicnerd »

i just did a fresh install of ubuntu and had my old vdi file in my home folder (/home/jeff/)...

When I ran VirtualBox for the first time after the install I said to use the old file....however since the .VirtualBox folder was not created I left the vdi file in my home folder until everything was working correctly. I then moved the vdi file to /home/jeff/.VirtualBox/VDI/ and set it right in the virtual disk manager.

My problem is that now when I run VirtualBox I get a log file in my home folder. Is there a way I can stop this from happening? Make the log files be saved somewhere else...like in the VDI folder...or better yet...in the logs folder located in the Machines folder (/home/jeff/.VirtualBox/Machines/virtualXP/Logs)?
greenpossum
Volunteer
Posts: 98
Joined: 11. Jul 2008, 08:10

Re: Move where log files are stored?

Post by greenpossum »

manicnerd wrote:My problem is that now when I run VirtualBox I get a log file in my home folder. Is there a way I can stop this from happening? Make the log files be saved somewhere else...like in the VDI folder...or better yet...in the logs folder located in the Machines folder (/home/jeff/.VirtualBox/Machines/virtualXP/Logs)?
Ah this looks like the "developer forgot to turn off debug logs before releasing" bug. Either wait for the 1.6.6 or use the workaround

Code: Select all

export VBOX_LOG_DEST=nofile
manicnerd
Posts: 4
Joined: 25. Aug 2008, 04:13

Post by manicnerd »

Thank you so much!

worked like a charm.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Could also be found in the Announcement of the 1.6.4 release and on the download page before going to the Sun site.

Doesn't really matter now where to find it, it's solved and I will lock it so this topic won't get unwanted replies.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Locked