Skip to content

Releases: aigan/tail-file

Bugfix for accepting target row inbetween files

05 Feb 12:32
Compare
Choose a tag to compare

Yet another findStart() bugfix

12 Dec 12:32
Compare
Choose a tag to compare

Bugfix for findStart()

06 Dec 13:34
Compare
Choose a tag to compare
v1.4.4

1.4.4

Bugfixes for findStart()

13 Nov 11:23
Compare
Choose a tag to compare

bugfix for mixed up charpos with bytepos

09 Nov 14:28
Compare
Choose a tag to compare

Bugfixes and more tests

23 Oct 15:03
Compare
Choose a tag to compare

findStart() will now search in all files from logrotation

17 Oct 13:24
Compare
Choose a tag to compare

Can now find last known line in older logs, like my.log.3.gz and deliver line vents for all lines from that position, down through my.log.2.gz, my.log.1 and my.log.

Now also works on Windows

23 Apr 16:04
Compare
Choose a tag to compare

Promises

04 Apr 14:42
Compare
Choose a tag to compare
  • Added a promise version for getting the next line: mytail.nextLine()
  • Added a promise version for start: await mytail.startP()
  • Bugfix for using absolute pathname with log rotation
  • more tests

Added findStart() for continuing tail at last known line

09 Feb 17:05
Compare
Choose a tag to compare

If you want to start where you left of the tail and not miss any lines, even if the last known line has been log rotated, you can use findStart().

It will start the tail at the line matching the given regexp that passes the comparison test. Suitable for log files that has sorted values, like timestamps or number sequences.