Great, that's the way to go, well done and thanks for your contribution! Simo
http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, May 25, 2011 at 2:42 PM, frankgrimes97 <frankgrime...@gmail.com> wrote: > FYI, I have created the following bug report in JIRA for this issue: > > https://issues.apache.org/jira/browse/IO-274 > > Frank Grimes > > > On Tue, May 24, 2011 at 1:32 PM, frankgrimes97 <frankgrime...@gmail.com>wrote: > >> Hi All, >> >> We are using org.apache.commons.io.input.Tailer to process log files for >> insertion into a database. >> >> What we are seeing is that occasionally a line fails to process because it >> is incomplete. >> In reviewing the code, it appears that Tailer.readLines delegates to >> java.io.RandomAccessFile.readLine which returns a partial line if EOF is >> reached. >> >> Shouldn't Tailer be providing a guarantee of complete lines? >> Should we create a bug report for this? >> >> FYI, we are using 1.6.0_15 on Linux. >> >> Thanks, >> >> Frank Grimes >> > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org