压缩旋转日志文件的实用程序?
我正在使用 NLog 进行日志记录,并且需要对其在创建后不久生成的旋转文本文件的负载进行压缩。
NLog 应该在未知的未来某个时候支持此功能,但是是否有某种实用程序可以独立执行此操作?
I'm using NLog for logging and need to zip the loads of rotated text files it's generating shortly after they are created.
NLog should support this feature some time in the unknown future, but is there a utility of sorts that can do this independently ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从 NLog 4.0 开始支持压缩存档文件,请参阅 新闻文章
使用
enableArchiveFileCompression
,例如Zipping archive files is supported since NLog 4.0, see news post
Use
enableArchiveFileCompression
, e.g.