add logrotate support for MinIO logs (#19641)

This commit is contained in:
Harshavardhana
2024-05-01 10:57:52 -07:00
committed by GitHub
parent dbfb5e797b
commit 8c1bba681b
11 changed files with 259 additions and 43 deletions

View File

@@ -149,4 +149,12 @@ var (
}
return fmt.Sprintf
}()
TurnOff = func() {
color.NoColor = true
}
TurnOn = func() {
color.NoColor = false
}
)