sevlyar / go-daemon

A library for writing system daemons in golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not set the size of log file

kakastone opened this issue · comments

Can't set the size of the log, I hope i can set the size or number of the log then daemon can recycle the storage automatically.

The library is not responsible for logging. And developer should implement that functional himself, use standard library or use third-party libraries. For example, https://github.com/natefinch/lumberjack