Socket
Socket
Sign inDemoInstall

bunyan-rotating-file-stream

Package Overview
Dependencies
26
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13Next

1.6.0

Diff

Changelog

Source

1.6.0

  • Support writing logs that aren't in bunyan's normal JSON format. Or JSON at all.
  • Officially moved tests to node 6
rcomian
published 1.5.4 •

Changelog

Source

1.5.4

  • Checked with node v6 and updated support notes on the README.
rcomian
published 1.5.3 •

Changelog

Source

1.5.3

  • Fixed issue with handling template filenames containing dots: #4

  • Can handle this.%Y.log as well as this.%N-%Y.log, which both failed before, when using gzip.

rcomian
published 1.5.2 •

Changelog

Source

1.5.2

  • 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.

rcomian
published 1.5.1 •

Changelog

Source

1.5.1

  • Fixed an issue with gzipped files not being deleted when using datestamps
  • Fixed an issue with gzipped files not being rotated correctly when continuing an existing log file
rcomian
published 1.5.0 •

Changelog

Source

1.5.0 Templates Release

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.

Integration testing is still rudimentary in terms of technology, but the coverage has been massively improved, checking that no logs have been re-ordered or lost.

rcomian
published 1.4.0 •

Changelog

Source

1.4.0

  • 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.
rcomian
published 1.3.1 •

Changelog

Source

1.3.1

  • Fix bug: If we started rotating files in the middle of a write batch, the remaining logs in the batch would be reversed.
  • Start rotating if a log record would breach a threshold rather than rotate after threshold reached.
rcomian
published 1.3.0 •

Changelog

Source

1.3.0

  • It appears to be a very common problem that multiple rotating file streams are created against the same file. This version should resolve this issue when done within the same process by caching and returning the first rotating stream created.
rcomian
published 1.2.1 •

Changelog

Source

1.2.1

  • Catching write errors and emitting them
  • Ensuring a stream is closed before finishing a join (internal testing method)
  • Handling events in the underlying stream
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc