schollz/find3

Add log rotation

开放

#6 创建于 2018年3月4日

 (1 条评论) (0 个反应) (0 位负责人)Go (368 个派生)github user discovery
enhancementgood first issue

仓库指标

星标
 (4,782 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

The logfiles can get large, especially if there's a lot of fingerprints and/or -debug has been turned on. (I'm thinking of main.stdout).

It may be worth looking into automatically rotating this.

Maybe something like lumberjack? Seems like an easy swap.

Alternatively, if we want to push this onto the user, we should mention this explicitly in README.md.

贡献者指南