mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-14 09:35:41 +00:00
fix: minor bugs and tweak log rotation history to 14 days
This commit is contained in:
@@ -76,7 +76,7 @@ func main() {
|
||||
defer oplog.Close()
|
||||
|
||||
// Create rotating log storage
|
||||
logStore := rotatinglog.NewRotatingLog(path.Join(config.DataDir(), "rotatinglogs"), 30) // 30 days of logs
|
||||
logStore := rotatinglog.NewRotatingLog(path.Join(config.DataDir(), "rotatinglogs"), 14) // 14 days of logs
|
||||
if err != nil {
|
||||
zap.S().Fatalf("error creating rotating log storage: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user