winston log split by date的解决方案
winston 是node.js的日志管理工具,但是它的api是按照文件大小来切割文件,而不是按照日期来切割的。如何做到按日期存储日志呢?
参考资料
http://stackoverflow.com/questions/11403953/winston-how-to-rotate-logs
https://github.com/winstonjs/winston/issues/10
https
原创
2017-03-28 14:36:28 ·
1364 阅读 ·
0 评论