lumberjack icon indicating copy to clipboard operation
lumberjack copied to clipboard

lumberjack is a log rolling package for Go

Results 92 lumberjack issues
Sort by recently updated
recently updated
newest added

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: ![image](https://github.com/natefinch/lumberjack/assets/76110805/867dd4b3-1edf-43f0-902b-949fa9ff1866) And this is the log init function: ![image](https://github.com/natefinch/lumberjack/assets/76110805/273a7666-78f1-4979-be06-ae4bc5c552e9)

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...