This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@nearform/node-trace-log-join

2.0.0-0 • Public • Published

This fork of node-trace-log-join includes this patch, and no other changes. This exists just to let Clinic.js use that patch. While the PR has not passed review yet, it is unlikely to make things worse in our specific case.

node-trace-log-join

Easily combine multiple node_trace files into a single one

npm install node-trace-log-join

Build Status

Usage

var join = require('node-trace-log-join')

join('node_trace.*.log', 'combined.log', function (err) {
  if (err) throw err
  console.log('All node_trace.*.log files have been combined into combined.log')
})

API

join(files, output, [callback])

Combines all trace files into the output file and calls the callback. All files are combined in a streaming fashion so the memory footprint is pretty small.

Alternatively you can pass a file pattern instead of the the files array.

After the files are combined, the input files are unlinked as well.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @nearform/node-trace-log-join

Weekly Downloads

3,255

Version

2.0.0-0

License

MIT

Unpacked Size

8.17 kB

Total Files

7

Last publish

Collaborators

  • lucalanziani
  • donal.moynihan
  • simoneb
  • eamonn.frisby