bunyan-rotating-file-stream icon indicating copy to clipboard operation
bunyan-rotating-file-stream copied to clipboard

Is an endpoint for bunyan that lets you control how much disk space logs take.

Results 12 bunyan-rotating-file-stream issues
Sort by recently updated
recently updated
newest added

I am using typescript in my project, and implemented the exact example: ``` import * as bunyan from "bunyan"; import RotatingFileStream from "bunyan-rotating-file-stream"; let log = bunyan.createLogger({ name: "foo", streams:...

With just ``` stream: new RotatingFileStream({ path: 'logs/error%F.log', period: '1d', }) ``` a new empty file is created on each execution, if it doesn't already exist. It would be fantastically...

Seeing an uncaught Error with the message `Cannot call write after a stream was destroyed` thrown from deep in the stream code. callstack: ``` _stream_writable.js in doWrite at line 431:19...

When a file is less than 24 hours old (daily), initialPeriodCheck fails to trigger new file creation. Next Rotation time checks 24 hours since birthtime instead of at midnight of...

bug

At this moment we can't use bunyan-format and bunyan-rotating-file-stream at the same time.

With normal logs you can use `tail -F` to follow them, because when the log is rotated the original filename persists (and `tail -F` detects the file change). But when...

Hi, ## Expected Behavior When setting rotation file, it should not crash "randomly". ## Current Behavior Without knowing what happened, the logger crash. I'm using several projects with the same...

Hi all! I am using bunyan and bunyan-rotating-file-stream for loggin in an Electron app. The code is pretty simple: ``` var rotatingStream = new RotatingStream({ path: LOG_DIR + logFile, //...

bug

I added the following code: ``` const log = bunyan.createLogger({ name: 'bar', streams: [{ type: 'raw', stream: new RotatingFileStream({ path: './log/%Y-%m-%d.log', period: '10ms', totalFiles: 10, rotateExisting: true, threshold: '10m', totalSize:...

If you are logging to a file and that file gets manually deleted, the logger does not re-create the file and continue logging, instead looses logs from that point.

enhancement