Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bunyan-rotating-file-stream

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunyan-rotating-file-stream - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

foo.log.1.gz

6

CHANGES.md

@@ -5,5 +5,9 @@ # bunyan Changelog

## 1.0.4
- Correcting github location
## 1.0.3
- Docs changes
- Docs changes

@@ -10,0 +14,0 @@ ## 1.0.2

4

package.json
{
"name": "bunyan-rotating-file-stream",
"version": "1.0.3",
"version": "1.0.4",
"description": "a rotating file stream for the bunyan logging system",

@@ -9,3 +9,3 @@ "author": "Jim Tupper <npm@tupper.org.uk> (http://github.com/rcomian)",

"type": "git",
"url": "git://github.com/Rcomian/node-bunyan-rotating-file-store.git"
"url": "git://github.com/Rcomian/bunyan-rotating-file-store.git"
},

@@ -12,0 +12,0 @@ "engines": [

@@ -21,48 +21,17 @@ var bunyan = require('bunyan');

var i = 0;
var imax = 1000000;
var imax = 100000;
var batchsize = 8;
var longpayload = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
var ia = setInterval(function () {
i += 1;''
var payload = longpayload.slice(0, Math.floor(Math.random() * 20));
log.info({node: 'a', i, payload});
for (var j = 0; j < batchsize; j += 1) {
log.info({node: 'a', i});
i += 1;
if (i > imax) {
//clearInterval(ia);
if (i >= imax) {
clearInterval(ia);
return;
}
}
}, 0);
var ib = setInterval(function () {
i += 1;''
var payload = longpayload.slice(0, Math.floor(Math.random() * 20));
log.info({node: 'b', i, payload});
if (i > imax) {
//clearInterval(ib);
}
}, 2);
var ic = setInterval(function () {
i += 1;''
var payload = longpayload.slice(0, Math.floor(Math.random() * 20));
log.info({node: 'c', i, payload});
if (i > imax) {
//clearInterval(ic);
}
}, 97);
var id = setInterval(function () {
i += 1;''
var payload = longpayload.slice(0, Math.floor(Math.random() * 20));
log.info({node: 'd', i, payload});
if (i > imax) {
//clearInterval(id);
}
}, 59);
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc