go-spacemesh
go-spacemesh copied to clipboard
logging: add log rotation with lumberjack
Logging is pretty verbose even with INFO level. Setup rotation with some sensible limits, for example 1day of logging or 2gb of data
https://github.com/natefinch/lumberjack
See also https://github.com/spacemeshos/go-spacemesh/issues/1982.