I've a log file which i append to every so often. (Thats the easy bit)
What i want to do is if its gets above a certain size then delete the old 1 st line before add the latest line to the bottom of the file.
Is there a way of doing this? i cant exactly read the whole file as i will run out memory