You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMHO this is job for os at system level via logrotate or similar on unix.
But you could try Rotating File writer which implements io.writer so you just push that to logging.NewLogBackend instead.
Is there a function to set the log rotation?
otherwise I have to write some function to:
The text was updated successfully, but these errors were encountered: