go-spacemesh icon indicating copy to clipboard operation
go-spacemesh copied to clipboard

logging: add log rotation with lumberjack

Open dshulyak opened this issue 3 years ago • 1 comments

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

dshulyak avatar Jan 27 '22 11:01 dshulyak

See also https://github.com/spacemeshos/go-spacemesh/issues/1982.

moshababo avatar Jun 27 '22 16:06 moshababo