Messed around and in general screwed things up. Works OK

Need to split logs file into two seperate log files