We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using rfs like this, it throws an error.
rfs
log file rotation
var accessLogStream = rfs('access.log', { interval: '1d', // rotate daily path: logDirectory })
Instead, use it like this
const accessLogStream = rfs.createStream('access.log', { interval: '1d', // rotate daily path: logDirectory });
The text was updated successfully, but these errors were encountered:
Thanks @tharindulucky that just fixed it for me too
Sorry, something went wrong.
added the docs label as there's a PR open to update the README to account for the api change in rfs
docs
docs: update rotating-file-stream usage for 2.x
629e7ea
fixes expressjs#217 closes expressjs#218
5d8176f
No branches or pull requests
When using
rfs
like this, it throws an error.log file rotation
Instead, use it like this
The text was updated successfully, but these errors were encountered: