mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
add _MINIO_SERVER_DEBUG env for enabling debug messages (#11128)
This commit is contained in:
@@ -74,8 +74,8 @@ func newBucketMetacache(bucket string, cleanup bool) *bucketMetacache {
|
||||
}
|
||||
|
||||
func (b *bucketMetacache) debugf(format string, data ...interface{}) {
|
||||
if metacacheDebug {
|
||||
console.Debugf(format, data...)
|
||||
if serverDebugLog {
|
||||
console.Debugf(format+"\n", data...)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user