By default your VirtualCenter logfiles are stored in a temp folder(as of 2.5 they are stored in: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs). VMware Wolf wrote a nice article about all the locations these log files are stuffed. For some reason I don’t get a pleasant feeling when I store my VirtualCenter (VPXD) log files in a temporary windows directory or the profile directory for that matter(thanks for the comment!!). If there’s one thing admin’s clean up first when they tend to run out of diskspace it’s their temp directory… it’s called temp for a good reason!
So in order to prevent this you could change the location of the VPXD log files very easily. Edit “vpxd.cfg”. It’s located here: %AllUsersProfile%\Application Data\VMware\VMware VirtualCenter\.
Add the following lines in the “<config>” section and change the path accordingly:
<log>
<directory>c:\VC_Logs</directory>
</log>
VMwarewolf says
It’s important to note that Virtualcenter logs have moved for version 2.5 and later. No longer in the Windows temp directory, they now by default reside in:
C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs
—
Duncan Epping says
Thanks for the update! Didn’t even notice this yet, I changed this for a customer that uses 2.0.2 at the moment!
Tom says
Hi, small typo.
The file is called “vpxd.cfg”.
vMackFS says
For everyone’s reference, here’s a link to the corresponding KB Article: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009145