Skip to content

Releases: Rcomian/bunyan-rotating-file-stream

Dependencies Refresh

31 May 16:33
Compare
Choose a tag to compare

Updating dependencies and using engine v14 as baseline.

  • Update lib/filerotator.js
  • Emit gzip_finish event
  • Removing redundant bunyan dependency
  • Check for undefined mtime

Type definition file for typescript

31 Jul 12:21
Compare
Choose a tag to compare

Generously provided by scippio

Fixing basic support for rotateExisting

08 Jan 12:01
Compare
Choose a tag to compare

rotateExisting should now rotate a file on startup if required.

Compatibility with config modules

09 Aug 19:07
Compare
Choose a tag to compare

Allow passing in immutable options objects to the stream constructor.

Support for non-json logs

27 Jun 19:36
Compare
Choose a tag to compare

Basic support for non-json logs.

No significant changes, just marking a point where this support should work.

Support for node v6

28 Apr 21:37
Compare
Choose a tag to compare

No changes needed to support node v6, just updating documentation.

Bugfix release to address filename handling issues

26 Apr 21:18
Compare
Choose a tag to compare

Bugfix - handling of date templates with dot characters in the name part was not working properly.

Compatibility Release

12 Mar 12:40
Compare
Choose a tag to compare
  • Expanded node version compatibility and making a statement about which versions of node we offically support- 0.12.9, 0.12.latest, 4.latest, 5.latest.
  • Full passing test suites running against each version using nvm.
  • Stress test in place, needs tuning.

Templated filenames

28 Feb 23:03
Compare
Choose a tag to compare

We now have the ability to specify templates in the log's filename. For full details see the templating section, but briefly: we can template where you put the number when rotating files (this allows you to preserve the extension so that the files open in the correct viewer), or give your log filename a timestamp in your preferred format.
All previous features are maintained and you should be able to use your existing configuration without change.

Field ordering in files

27 Feb 00:37
Compare
Choose a tag to compare
  • New feature to allow the user to specify the order the fields of the log records are written to the log file, this can make manual browsing of the files easier if you put the timestamp and other relevant information first.
  • Some clean ups and refactorings to try to remove some flags.