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

Opens a stream.Writable to a file rotated by interval and/or size. A logrotate alternative.

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

I got this error ``` /app/packages/shared/node_modules/rotating-file-stream/dist/cjs/index.js:89 await this.file.write(chunk); ^ TypeError: Cannot read properties of undefined (reading 'write') at RotatingFileStream.rewrite (/app/packages/shared/node_modules/rotating-file-stream/dist/cjs/index.js:89:33) ``` Running the application in a docker container, everything was...

i use rotating-file-stream to rotate log. After rotate, test.json.log will empty. now I need that test.json.log save 7d log data, how can i do? like winston.transports.DailyRotateFile createSymlink and symlinkName const...

I am trying to use rotating file stream in my vue-electron app. My goal is to rotate log file once it reaches 5 MB. It works fine if the log...

Hey there, I'm trying to use you package for my pino logger like so: ``` import { Logger as PinoLogger } from './logger.package'; const rfsa = require('rotating-file-stream'); const pad =...

I'd like to use `interval === '12h'` & `intervalBoundary === true`, while the rotation would be aligned in UTC instead of my system timezone. Is it possible, please?

I am wondering if it would be possible to recreate the file if for some reason was deleted by an external operation after you have created the stream, for example,...

![image](https://github.com/iccicci/rotating-file-stream/assets/84107136/ba04a05b-aa53-4074-9c28-ae961164e9f0)