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

filename counter was added to filename wrongly. #132

Closed
TomRed97 opened this issue Apr 6, 2018 · 1 comment
Closed

filename counter was added to filename wrongly. #132

TomRed97 opened this issue Apr 6, 2018 · 1 comment

Comments

@TomRed97
Copy link

TomRed97 commented Apr 6, 2018

new (winston.transports.DailyRotateFile)({
filename: 'lol%DATE%.log',
datePattern: 'yyyy',
zippedArchive: true,
maxSize: '5k',
maxFiles: '14d'
})

after maxSize exceeds, second file is created but filename is lol2018.log.1 . It's wrong. How we can leave filename same, like lol.log ?

@mattberther
Copy link
Member

This is currently working as designed. There is an open issue to support tailable at #23. Closing this issue and you can monitor the other issue for progress.

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