`
flex_莫冲
  • 浏览: 1075317 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

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://github.com/winstonjs/winston/pull/120/files

https://github.com/winstonjs/winston/pull/205
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics