I have log-files that collect data over a long period of time in my app. The systems I'll be woring with will have very limited storage space. I'd like to specify an upper-bound on the size of the log file and once this size is reached I want to delete some of the old data in the same file. Now, since free space is already limited (if not unavailable) I can't simply copy the 'required' portion of the file to a new file snd delete the old log file.
Can this be done?
Can this be done?