Skip to content

Releases: Rcomian/bunyan-rotating-file-stream

Cleanup and bugfix

21 Feb 21:04
Compare
Choose a tag to compare
  • Catching write errors and emitting them
  • Ensuring a stream is closed before finishing a join (internal testing method)
  • Handling events in the underlying stream

Predictable rollover and non-raw stream support

21 Feb 11:24
Compare
Choose a tag to compare
  • Support non-raw streams. For some reason, raw streams are MUCH faster in high load scenarios (at least when this is the only stream).
  • Better guarantees over file rollover - we will write exactly one log record that goes over the size threshold before we rotate
    The previous performance release meant that we couldn't rotate until the write had completed to the disk - in the meantime several other
    logs could have been written. This made everything unpredictable.
  • Making better use of the cargo datatype to write multiple log records in a single event loop tick.
  • Using setImmediate rather than process.nextTick in the write loop to allow io and other operations time to happen rather than hog the event loop.

Performance

18 Feb 23:58
Compare
Choose a tag to compare

Checked performance of the log writing framework and tweaked a few things to improve this.

Bugfix - reenabling special values for periods

15 Feb 22:24
Compare
Choose a tag to compare

First release

15 Feb 21:39
Compare
Choose a tag to compare

Moved to a new repository that better matched the release.
Restructured the project and added some tests.