Ruby scripts to analyse rails logs