[go-nuts] Re: glog log rotate not working correctly

2017-09-21 Thread Tad Vizbaras
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"

[go-nuts] Re: glog log rotate not working correctly

2017-09-20 Thread alexguo123
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,

[go-nuts] Re: glog log rotate not working correctly

2016-09-29 Thread Dave Cheney
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