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

Rename files #225

Closed
Nesher123 opened this issue May 13, 2019 · 2 comments
Closed

Rename files #225

Nesher123 opened this issue May 13, 2019 · 2 comments

Comments

@Nesher123
Copy link

Hi,
I'm having a problem modifying filenames.

Every time a new file is created, a number is appended to its end.
How can I manage it to have the extra numbers before the file extension?
i.e the filename is 'error.log' and when it reaches a certain size -> 'error.log.1' is created, but I would like to get 'error1.log' or 'error.1.log'

Thanks,
Ofir

@mattberther
Copy link
Member

This is not currently possible. This is being tracked over at rogerc/file-stream-rotator#48 and once that issue is resolved, the capability will be available here.

@mattberther
Copy link
Member

Published winston-daily-rotate-file@4.0.0 to resolve this issue.

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

2 participants