timberjack icon indicating copy to clipboard operation
timberjack copied to clipboard

Timberjack is a Go log rolling library with support for size-based, time-based, and manual rotation.

Results timberjack issues
Sort by recently updated
recently updated
newest added

**Describe the bug** With `LocalTime: true` and `RotateAt: []string{"00:00"}` in a zone with daylight saving time (e.g. Europe/Paris), the rotation at 00:00 on the day summer time ends (2026-10-25 in...

bug

### 💡 Feature request **Describe the problem** I would like to use this library without pull `github.com/klauspost/compress`. --- **Proposed solution / API** I have 2 solution in mind: Make `zstd`...

**Describe the bug** Backup filename collisions can silently overwrite previously rotated logs. This is not limited to manually calling `Rotate()`. Automatic size-based and time-based rotations use the same backup naming...

bug

Currently, I see this output every time I run `govulncheck`... ``` === Module Results === Vulnerability #1: GO-2026-5841 OOB read in github.com/klauspost/compress/s2 More info: https://pkg.go.dev/vuln/GO-2026-5841 Module: github.com/klauspost/compress Found in: github.com/klauspost/[email protected]...

## Summary `v1.4.4` cannot be consumed by anyone using `GOPROXY=direct` (or any setup that bypasses `proxy.golang.org`) because the module hash served directly from GitHub does not match the hash recorded...

bug

### 💡 Feature request **Describe the problem** Currently there is no sync support, which is required for example for the zap logger. --- **Proposed solution / API** The issues and...

**Describe the bug** When `Logger.FileMode` is configured, the configured mode is not preserved after log rotation. The new active log file is created with permissions affected by the process `umask`...

bug

Thanks for making this fork! We've been waiting a _long_ time to see someone pick up the mantle, we're going to switch to this library in https://github.com/caddyserver/caddy One old request...

### 💡 Feature request i wanna Custom time format in log file --- ```go // Example tj := &timberjack.Logger{ Filename: "app.log", RotateEvery: time.Hour, // new option for fixed-interval rotation TimeFormat:"2006-03-04...

### 💡 Feature request **Describe the problem** I have multiple websites of my own, and because I am deployed on a single core VPS, I do not want to use...