New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

logrotate-stream

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logrotate-stream

Pipe log data to a stream, fuggetabout rotation

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.8K
increased by12.4%
Maintainers
1
Weekly downloads
 
Created
Source

logrotate-stream

A Writable Stream that supports linux logrotate style options

NPM

example

var LogStream = require('logrotate-stream')
  , toLogFile = LogStream({ file: './test.log', keep: 3 });

someLogStream.pipe(toLogFile);

options

file

The file to write data to

keep

The number of log files to keep

compress

Optionally compress rotated files

install

With npm do:

npm install logrotate-stream

Keywords

FAQs

Package last updated on 13 Nov 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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