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

User Defined Languages in Notepad++ for Syntax Highlighting in Log Files

Use syntax highlighting to help parse log files

Well holy smokes Batman... ... this is a useful little tip! I have just had the realisation that I can use the User Defined Language Tool in Notepad++ to enable syntax highlighting and make parsing the .log files from our game *much* easier. Lumberyard, and indeed The D.R.G. Initiative both kick out a lot of … Continue reading User Defined Languages in Notepad++ for Syntax Highlighting in Log Files