Skip to content
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

Feature request: lazy init files #28

Open
mfbarrows opened this issue Sep 8, 2021 · 0 comments
Open

Feature request: lazy init files #28

mfbarrows opened this issue Sep 8, 2021 · 0 comments

Comments

@mfbarrows
Copy link

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 helpful if there were an option so that file didn't get created until the first log, so that I can better monitor errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant