I am looking for a simple way to keep my log files from growing too
large. Basically I would want something that truncates the off first 25
kb of a 100kb log file. I could do something with reading in the file
twice, first to determine number of lines. Then a second time to write
a copy of the reduced log file. Any simpler workarounds?