Use Perl's File::Tail to attach a log file to a tcp socket.