<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yellow Bricks &#187; log</title>
	<atom:link href="http://www.yellow-bricks.com/tag/log/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yellow-bricks.com</link>
	<description>Building blocks for virtualization...</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:12:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Changing the directory of your vSphere vCenter log files</title>
		<link>http://www.yellow-bricks.com/2010/03/10/changing-the-directory-of-your-vsphere-vcenter-log-files/</link>
		<comments>http://www.yellow-bricks.com/2010/03/10/changing-the-directory-of-your-vsphere-vcenter-log-files/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:19:43 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Lessons Learned]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[vcenter]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=5558</guid>
		<description><![CDATA[<p>Something that a lot of people haven&#8217;t looked in to or just don&#8217;t think about is relocating the log files of vCenter, I wrote a short article 2 years ago and thought it was time to reiterate it. By default (Windows 2003) log files are stored in &#8220;C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs&#8221;, and for Windows 2008 log files are [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2010/03/10/changing-the-directory-of-your-vsphere-vcenter-log-files/">Changing the directory of your vSphere vCenter log files</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>Something that a lot of people haven&#8217;t looked in to or just don&#8217;t think about is relocating the log files of vCenter, I wrote a short <a href="http://www.yellow-bricks.com/2008/09/08/virtualcenter-log-files-in-your-temp-directory/">article</a> 2 years ago and thought it was time to reiterate it. By default (Windows 2003) log files are stored in &#8220;C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs&#8221;, and for Windows 2008 log files are stored in &#8220;C:\ProgramData\VMware\VMware VirtualCenter\Logs&#8221;.</p>
<p>As you can imagine the C:\ partition is not the ideal place for storing log files. I would personally recommend to use a separate drive for logfiles so avoid it from flooding any OS or Program related drives. You could pick a small size based on the expected log size and if needed increase the amount of logs that are stored and the size of the log file.</p>
<p>Changing this is pretty simple. Open &#8220;vpxd.cfg&#8221; and add the following line in between &lt;log&gt; and &lt;/log&gt;</p>
<pre style="padding-left: 30px;">&lt;directory&gt;D:\VMware\Logs&lt;/directory&gt;</pre>
<p>Changing the amount of log files stored and the size is also pretty basic, in this example vCenter will store 10 logfiles which are max 10MB each:</p>
<pre style="padding-left: 30px;">&lt;maxFileSize&gt;10485760&lt;/maxFileSize&gt;
&lt;maxFileNum&gt;10&lt;/maxFileNum&gt;</pre>
<p>Keep in mind that you will need to restart the vCenter Service after these changes before they take effect!</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2010/03/10/changing-the-directory-of-your-vsphere-vcenter-log-files/">Changing the directory of your vSphere vCenter log files</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2010/03/10/changing-the-directory-of-your-vsphere-vcenter-log-files/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>VM&#8217;s vmware.log rotation options</title>
		<link>http://www.yellow-bricks.com/2008/12/30/vms-vmwarelog-rotation-options/</link>
		<comments>http://www.yellow-bricks.com/2008/12/30/vms-vmwarelog-rotation-options/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 20:13:48 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=1428</guid>
		<description><![CDATA[<p>Yesterday I posted about the article on the hostd, vpxa and vpxd log file options. Today another KB article has been released to setup a rotation scheme for the VM&#8217;s log file: vmware.log. Might be worth checking it out and setting it up. You need to change the VM&#8217;s vmx file for this to work though. In short: logging = [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/12/30/vms-vmwarelog-rotation-options/">VM&#8217;s vmware.log rotation options</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I <a href="http://www.yellow-bricks.com/2008/12/29/rotating-hostd-vpxd-and-vpxa-log-files/">posted</a> about the article on the hostd, vpxa and vpxd log file options. Today another <a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=8182749&amp;sliceId=2&amp;docTypeID=DT_KB_1_1&amp;dialogID=12514016&amp;stateId=1%200%2012510515">KB article</a> has been released to setup a rotation scheme for the VM&#8217;s log file: vmware.log. Might be worth checking it out and setting it up. You need to change the VM&#8217;s vmx file for this to work though. In short:</p>
<p style="padding-left: 30px;">logging = true or false<br />
log.rotateSize = maximum size in bytes the file can grow to: 10000<br />
log.keepOld = rotation level, amount of log files to keep: 10<br />
log.fileName = change name and path of log file</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/12/30/vms-vmwarelog-rotation-options/">VM&#8217;s vmware.log rotation options</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2008/12/30/vms-vmwarelog-rotation-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rotating Hostd, VPXD and VPXA log files</title>
		<link>http://www.yellow-bricks.com/2008/12/29/rotating-hostd-vpxd-and-vpxa-log-files/</link>
		<comments>http://www.yellow-bricks.com/2008/12/29/rotating-hostd-vpxd-and-vpxa-log-files/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 14:31:19 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[kb]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=1423</guid>
		<description><![CDATA[<p>If your hostd, vpxd and or vpxa log files are rotating to quickly or not quick enough check out this great KB article on how to set this up. The most important thing to set is the maximum amount of logfiles and the size. Be sure to do a basic calculation so your logging partition won&#8217;t fill up completely! And [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/12/29/rotating-hostd-vpxd-and-vpxa-log-files/">Rotating Hostd, VPXD and VPXA log files</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>If your hostd, vpxd and or vpxa log files are rotating to quickly or not quick enough check out <a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1004795&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=12250344&amp;stateId=1%200%2012252478">this great KB</a> article on how to set this up. The most important thing to set is the maximum amount of logfiles and the size. Be sure to do a basic calculation so your logging partition won&#8217;t fill up completely! And while your at it, might be worth setting up the rotation scheme for vmkernel, messages etc. If I can find the time I will do a blog article on that one later this week.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/12/29/rotating-hostd-vpxd-and-vpxa-log-files/">Rotating Hostd, VPXD and VPXA log files</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2008/12/29/rotating-hostd-vpxd-and-vpxa-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualCenter log files in your temp directory</title>
		<link>http://www.yellow-bricks.com/2008/09/08/virtualcenter-log-files-in-your-temp-directory/</link>
		<comments>http://www.yellow-bricks.com/2008/09/08/virtualcenter-log-files-in-your-temp-directory/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 21:01:36 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[2.0.x]]></category>
		<category><![CDATA[2.5]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[u2]]></category>
		<category><![CDATA[VirtualCenter]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=443</guid>
		<description><![CDATA[<p>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&#8217;t get a pleasant feeling when I store my VirtualCenter (VPXD) log files in a temporary windows directory [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/09/08/virtualcenter-log-files-in-your-temp-directory/">VirtualCenter log files in your temp directory</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>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). <a href="http://www.vmwarewolf.com/which-virtual-center-log-file/">VMware Wolf</a> wrote a nice article about all the locations these log files are stuffed. For some reason I don&#8217;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&#8217;s one thing admin&#8217;s clean up first when they tend to run out of diskspace it&#8217;s their temp directory&#8230; it&#8217;s called temp for a good reason!</p>
<p>So in order to prevent this you could change the location of the VPXD log files very easily. Edit &#8220;vpxd.cfg&#8221;. It&#8217;s located here: %AllUsersProfile%\Application Data\VMware\VMware VirtualCenter\.</p>
<p>Add the following lines in the &#8220;&lt;config&gt;&#8221; section and change the path accordingly:</p>
<blockquote><p>&lt;log&gt;<br />
&lt;directory&gt;c:\VC_Logs&lt;/directory&gt;<br />
&lt;/log&gt;</p></blockquote>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/09/08/virtualcenter-log-files-in-your-temp-directory/">VirtualCenter log files in your temp directory</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2008/09/08/virtualcenter-log-files-in-your-temp-directory/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

