fix: minor bugs and tweak log rotation history to 14 days

This commit is contained in:
garethgeorge
2024-05-05 12:54:46 -07:00
parent b6c258c921
commit ad9a77029c
4 changed files with 5 additions and 5 deletions

View File

@@ -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)
}