in reply to Re: file state mannagment
in thread file state mannagment

i have no control over the logger and it a unix system

Replies are listed 'Best First'.
Re^3: file state mannagment
by ikegami (Patriarch) on Feb 05, 2009 at 04:26 UTC

    One more question. Does the application keep the log file open, or does it close and reopen it. This can be answered using strace or your system's equivalent.

    If it does close and reopen them, you can rename the file. Once the application creates a new log file, you can do whatever you want to the renamed one.