-
Notifications
You must be signed in to change notification settings - Fork 157
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
Daily rotator transport doesn't seem to respect tailable #23
Comments
Any news on that? Can't make it working :( |
Ping. It would be nice to have only one file to tail, like bla.log and have its content rotated to bla-yy.mm.dd.log (or whatever) |
Any updates about this? When I set (maxFiles: '3d') for example, and set maxSize option, it creates files a new file without deleting old ones every time the maxSize is reached. I want to add the date to log filenames and take care about max number of files, to limit the total size of all log files together, but I didn't make it work. |
still doesn't work with [email protected] and [email protected]
and saw files i.e. |
This issue is still open, meaning tailable support does not currently work with this transport. |
This would be really great to have. Any plans on looking into? Or is this something that needs to be done in the winston package? |
This is documented as an issue upstream at rogerc/file-stream-rotator#44. I'll continue to monitor there and incorporate a new version that has this support, once available. |
@mattberther I've just published 0.5.0 with some enhancements/fixes. One of them is to include a symbolic link to the current active log file that can be accessed via current.log The current.log file is in the same directory as the other logs. |
090f7a9 introduced There are a few other bug fixes to resolve before I push |
@rogerc Is there any way to rename |
@sumeet-bansal v.0.5.5 has the option to configure the name of the symbolic link. @mattberther also submitted a PR to enable symlink to not make it mandatory. Not sure if @mattberther needs to do anything to enable the winston transport with v0.5.5 |
@sumeet-bansal Resolved with 31b1dc5 and pushed as |
The docs state that : "In addition to the options accepted by the File transport..." So I assumed it would respect tailable (meaning it would always log to the same file, and rotate with date the older/maxsized files). But I succeed in making it work (or locating in daily rotator transport code exactly where would it actually respect tailable.
Is there a way to make this work?
The text was updated successfully, but these errors were encountered: