-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
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
[bug] File not rotating when using a generator function #100
Comments
Your filename generator doesn't accepts parameters... Please refer to the documentation. If this solves the problem, feel free to close the issue. |
I tried using the filename generator in the documentation but it still wouldn't rotate the file.
|
I suggest you to follow
More than this there some known problems when |
The same problem, try to remove compress option. |
Hi @nodermann , Also your filename generator doesn't accepts parameters... It must accept two parameters. Please refer to the documentation. |
Also |
Hey there,
I'm trying to use you package for my pino logger like so:
This doesn't rotate the file. But when I provide a filename directly like so, it does:
const stream = rfsa.createStrearm('sample.log', { interval: '15s', compress: true, path: 'logs' })
The text was updated successfully, but these errors were encountered: