Monthly Archives: November 2012


ruby :: scan log file and print matching output

Lately, I’ve wanted to scan some vugen log files for errors, so I can correlate vuser errors with application errors.
This has been fairly easy to do as I suffix all my error capturing code in vugen with ###, so I just search for that.
However, when your log files are 500,000 lines long, and your error count gets high, its pretty annoying to hit F3 every time, luckily, ruby is yet again to our service. read more »