Java IO implementation of unix/linux “tail -f” February 14, 2023 by Tarik Take a look at Apache Commons implementation of Tailer class. It does seem to handle log rotation as well.