Using PowerShell to Parse Log Files

This is a very short and sweet blog on a neat few lines of PowerShell I have been using to help focus on what matters in the output The D.R.G. Initiative creates. $AbsoluteFilePath = "C:\SomeLogFileFromYourGame.log" if([System.IO.File]::Exists($AbsoluteFilePath)) { gc $AbsoluteFilePath -wait | where {($_ -match "Error") -or ($_ -match "Assert"))} | Tee-Object -file "C:\SomeOutputFile.customlog" } That's … Continue reading Using PowerShell to Parse Log Files

The beauty of tools development – Pt 1/3

A few years back I was heading up an in-house team of tools specialists at a major video game publisher.  We created a huge range of applications, everything from behind the scenes automation to fully-blown level editors and content creation tools. You won't be surprised to hear then that I've always stood by the importance of … Continue reading The beauty of tools development – Pt 1/3