There is also library called lumberjack. It integrates nicely with standard
library.
quote: `Lumberjack is a Go package for writing logs to rolling files.`
https://github.com/natefinch/lumberjack
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group
glog library does not delete log files. It only creates new log files.
Btw, not sure if you actually modified that "line", but note that you only
need to modify the variable.
Here's a rough example
import (
"github.com/golang/glog"
)
func main() {
glog.MaxFileSize = 250MB
}
On Wednesday,
Did you find the open deleted file in /proc/.../fds ?
On Thursday, 29 September 2016 22:37:47 UTC+10, ramkumar.g...@gmail.com
wrote:
>
> So it looks like a bug in the glog library. Anyway to file a bug against
> it?
--
You received this message because you are subscribed to the Google Groups