I am listening changes to a syslog file in Java. I use the accepted answer to process new entries to the file. However, I couldnt find an efficient solution for 开发者_如何转开发detecting rollover files. Syslog file might be rolledover daily or based on filesize.
What are the best practises for handling such a case?
精彩评论