<?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>Broliant Writes... &#187; world of logs</title>
	<atom:link href="http://www.broliant.com/tag/world-of-logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.broliant.com</link>
	<description>Occasional musings on WoW and other things...</description>
	<lastBuildDate>Thu, 03 Jun 2010 00:00:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WoW Nerdy &#8211; Managing the WoW Combat Log</title>
		<link>http://www.broliant.com/2009/07/wow-nerdy-managing-the-wow-combat-log/</link>
		<comments>http://www.broliant.com/2009/07/wow-nerdy-managing-the-wow-combat-log/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 23:00:51 +0000</pubDate>
		<dc:creator>Broliant</dc:creator>
				<category><![CDATA[WoW Nerdy]]></category>
		<category><![CDATA[7-zip]]></category>
		<category><![CDATA[batch file]]></category>
		<category><![CDATA[chomp]]></category>
		<category><![CDATA[combatlog]]></category>
		<category><![CDATA[loggerhead]]></category>
		<category><![CDATA[scheduled tasks]]></category>
		<category><![CDATA[world of logs]]></category>
		<category><![CDATA[WoW Related]]></category>
		<category><![CDATA[wws]]></category>

		<guid isPermaLink="false">http://www.broliant.com/?p=304</guid>
		<description><![CDATA[WoW Nerdy is a celebration of the more geek oriented aspects of our favourite WoW pastime. Today we&#8217;re going to offer some advice on how to manage the WoW Combat Log for those of you responsible for logging your raid&#8217;s combat data to various sites like WWS, World of Logs and others. Regular raiders are [...]]]></description>
			<content:encoded><![CDATA[<p><center>
<a href="http://www.broliant.com/wp-content/gallery/category-banners/wownerdy.jpg" title="" class="thickbox" rel="singlepic38" >
	<img class="ngg-singlepic" src="http://www.broliant.com/wp-content/gallery/cache/38__x_wownerdy.jpg" alt="" title="" />
</a>
</center><br />
<em>WoW Nerdy is a celebration of the more geek oriented aspects of our favourite WoW pastime. Today we&#8217;re going to offer some advice on how to manage the WoW Combat Log for those of you responsible for logging your raid&#8217;s combat data to various sites like WWS, World of Logs and others.</em></p>
<p>Regular raiders are always on the look-out for ways to improve their raiding performance and will commonly take advantage of the output of tools such as WoW Web Stats (aka: &#8216;WWS&#8217;) or World of Logs (aka: &#8216;WoL&#8217;) to provide them with detailed reports on how much damage or healing was done and by whom, what abilities were used, who died and how and much, much more.</p>
<p>Typically, there will be one or two people in a given raiding team who have been given (or have assumed) responsibility for producing these raid reports and the steps they typically have to go through are generally as follows:</p>
<p>- Create an account with the reporting system. (WWS, WoL et-al.)<br />
- Enable the logging of all combat data to the WoW Combat Log file at raid start.<br />
- Upload data about the raid from the WoW Combat Log file to the report website.<br />
- Stop logging of all combat data at raid end.</p>
<p>In general it&#8217;s not a terribly hard task but there are a few caveats that can catch people out from time to time, the most common ones being:</p>
<p>- Forgetting to enable the logging of combat data.<br />
- Not managing the size of the WoW Combat Log file.<br />
- Being unable to upload combat data due to the size of the WoW Combat Log file.</p>
<p>As a result of these potential caveats, being the one responsible for combat logging can sometimes be a more stressful and annoying job that it needs to be. Therefore, we&#8217;d like to offer a few useful nuggets of advice to those burdened with such a task.<br />
<span id="more-304"></span></p>
<hr style="border: 1px dotted; border-style: none none dotted;"/><br/></p>
<p><strong>Automatic Logging:</strong></p>
<p>To get woW to record all combat data to the combat log file, one simply needs to enter the following command into the WoW chat window:</p>
<p><code>/combatlog</code></p>
<p>This should trigger an acknowledgement message to be displayed in the chat window indicating that logging has been enabled. To stop WoW recording the combat data to the log, simply type the same command again and once more, you should see an acknowledgement message indicating this.</p>
<p>Naturally, it&#8217;s quite tedious to have to be responsible for manually starting and stopping the logging of combat data and if you find yourself forgetting to start or stop the logging from time to time you wouldn&#8217;t be the first. Step forward therefore magically-useful addon &#8220;LoggerHead&#8221;.</p>
<p>Loggerhead is a small addon that detects when you switch zones and the first time it detects a new zone it does not know about it pops-up a small window asking if you&#8217;d like combat data logged whilst in this zone. It then remembers your answer so it doesn&#8217;t need to ask again the next time you enter the same zone and eventually, you&#8217;ll move freely around the world and if you enter a raid (for example) it will automatically trigger the logging of combat data to the wow combat log file on and off as appropriate, assuming that you answered &#8216;yes&#8217; for logging in that zone!</p>
<p>You can download LoggerHead <a href="http://wow.curse.com/downloads/wow-addons/details/loggerhead.aspx">from here</a>.</p>
<hr style="border: 1px dotted; border-style: none none dotted;"/><br/></p>
<p><strong>Log File Overload:</strong></p>
<p>It&#8217;s great to be able to have LoggerHead manage the switching on and off of logging automatically on our behalf and commonly means that the task becomes one we never think of again. There is however a potential problem with this that we have not mentioned yet.</p>
<p>Whenever you enable logging, WoW simply appends the current combat log data to the WoW Combat Log file, growing the file over time. As a result of this, without proper management, the log file can grow to uncomfortable extremes. Here at &#8216;BW-Central&#8217; we&#8217;ve recently taken on the mantle of managing our raid&#8217;s &#8216;WoL&#8217; report creation and had never spared a thought historically to looking after the WoW Combat Log file. The result? The file grew to about 4.5gb in size before we noticed which is rather a lot of data and wholly unnecessary.</p>
<p>The quick and dirty solution to this problem is to simply wait until you&#8217;ve closed WoW down, finished uploading any data you care to upload to either WWS, WoL or wherever and then simply delete the existing WoW Combat Log file. The next time you enable combat logging WoW will detect the file does not exist and will create a fresh new log file accordingly.</p>
<p>We&#8217;re huge fans of &#8216;automation&#8217; though so we&#8217;d much rather not have to even remember to do this job on the occasional basis. Far better for us to find a way for it to be taken care of on a repeating and regular basis without any interaction from us. Step forward &#8216;Chomp&#8217;, &#8217;7-Zip&#8217; and a simple Dos batch-file.</p>
<p>First of all, get hold of the following two utility programs and install them onto your computer:</p>
<p>- <a href="http://chomp.amadis.sytes.net/">Chomp</a> &#8211; Enables the splitting of logs files into smaller individual pieces.<br />
- <a href="http://www.7-zip.org/">7-Zip</a> &#8211; A free archiving tool in the same vein as Winzip and Rar et-al.</p>
<p>With these tools downloaded, the next step is to copy the following batch-file code into a new text file on your PC and save it somewhere safe that makes sense to you. Although you could save it into the default &#8216;log&#8217; directory (typically &#8216;&#8230;\World of Warcraft\logs&#8221;) we&#8217;d recommend against that simply because there might come a time when you need to reinstall the game and if you&#8217;ve saved it there, you might then delete it in the process of reinstalling. A user-profile directory or similar would do just fine. Save the file with the filename &#8220;WoWCombatLogRotator.bat&#8221; in the location you chose.</p>
<p><code><br />
@echo off<br />
REM WoWCombatLogRotation.bat<br />
REM Rotates the WoW combat log file.<br />
REM Notes:</p>
<p>c:<br />
cd "C:\Program Files Public (x86)\World of Warcraft\Logs"</p>
<p>REM Delete old ZIP list file since we always append to the log<br />
del chomp.lst</p>
<p>REM Chomp each required file in-turn ...<br />
ECHO Rotating WoW Combat logs...<br />
REM Logs could be left locked/ro+sys (just in case)<br />
attrib *.log -r -h -s<br />
"C:\Program Files Public (x86)\Chomp\chomp.exe" WoWCombatLog.txt leave 0P /CRLF >> chomp.lst</p>
<p>REM Echo any errors ...<br />
type chomp.lst</p>
<p>REM ZIP up the resulting files<br />
REM (add errorlevel test and delete later on)<br />
ECHO Zipping up extracted logs...<br />
"C:\Program Files\7-Zip\7z.exe" a WoWCombatLogs.zip @chomp.lst</p>
<p>REM Delete unzipped log-file extracts.<br />
ECHO Deleting uncompressed log files matching "WoWCombatLog-*.txt"...<br />
Del WoWCombatLog-*.txt<br />
</code></p>
<p><strong>(NB: See comment #5 and comment #6 below.)</strong></p>
<p>Note that there are several lines in the batch file code that you need to customise to point to the locations on your system of Chomp, 7-Zip and the WoW logs directory. Once you&#8217;ve done this, you&#8217;re ready to jump on to the next stage of the proceedings.</p>
<p>We now have a program to split the log file (chomp), a program to add the bit we chop-off to an archive and compress it down to save space (7-Zip) and a batch-file to marshall the whole process. Let&#8217;s give a quick explanation of what this batch file does.</p>
<p>We could run this batch-file now to test it and by all means, if you&#8217;d like to do so, please do. We&#8217;ve set it to empty the combat log file completely so if you run it a second time before you play WoW again, it won&#8217;t have anything to do.</p>
<p>What we&#8217;d really want though is to set this program to be run automatically everyday on an automatic basis. Under Windows we have something called &#8220;Scheduled Tasks&#8221; which you can find in your control panel.</p>
<p>Open the Scheduled Tasks window and create a new scheduled task. Configure it to run once per day at a time you would generally be sure not to be playing WoW (5am seemed like a good option here at the &#8216;BW-Daycentre!&#8217;) and save the task with a useful name and description such as &#8220;WoW Combat Log Rotation&#8221; etc.</p>
<p>With the task setup to run everyday at 5am, the first new session of WoW on any given day after 5am will have a fresh and empty combat log. Should you for any reason need a previous day&#8217;s combat log, you will be able to find it archived inside the Zip format archive in the WoW logs directory under the name &#8220;WoWCombatLogs.zip&#8221; with each day&#8217;s log data referenced in the name by day and date.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.broliant.com/2009/07/wow-nerdy-managing-the-wow-combat-log/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
