i have some multiple log files that are written every five min, i want to read and sort these files data, after sorting the files i want to archive the files, meaning i delete the source log files,
The problem I'm having is that i don't want to read the log files that is being written at the time i start reading the files so that i don't delete any uncompleted log files. i only want to read the files which the logs are written and finished.
can someone please please help me on this??
thank you in advance,
-------------------------------------------------------------------------------
i have no controls over the logging programme and is a unix system