lumberjack
lumberjack copied to clipboard
lumberjack is a log rolling package for Go
https://github.com/natefinch/lumberjack/blob/v3/lumberjack.go#L255 I want to replace 600 with 644
I consider the Close() method is finalize call, so I make close(chan) call. the relate issue #56
issues : #201 My English is not very good, so I will use ChatGPT to help me translate later. If there are any errors, please forgive me At times, it...
```go package main import ( "gopkg.in/natefinch/lumberjack.v2" "log" "time" ) func main() { lj := &lumberjack.Logger{ Filename: "test.log", MaxSize: 5, // megabytes MaxBackups: 3, } if err := lj.Close(); err !=...
gunzip the zipped log file occurs error like this:  And this is the log init function: 
Looking to have a time-stamp on each file created (not just the rotated files). I've experiments with updating the file name formatting, such as ```go w := zapcore.AddSync(&lumberjack.Logger{ Filename: fmt.Sprintf("%s/dump-%v.log",...
Hello, For my application, I use "lumberjack.v2" with zerolog on Linux embedded system. Sometime, my application needs to shutdown the system. In this case, how can I ensure that my...
Looking to use lumberjack for a personal project and the feature request in #195 would be a nice-to-have, so I implemented it myself. I did this by adding a function...