mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
add _MINIO_SERVER_DEBUG env for enabling debug messages (#11128)
This commit is contained in:
@@ -125,13 +125,13 @@ func (o listPathOptions) newMetacache() metacache {
|
||||
}
|
||||
|
||||
func (o *listPathOptions) debugf(format string, data ...interface{}) {
|
||||
if metacacheDebug {
|
||||
if serverDebugLog {
|
||||
console.Debugf(format, data...)
|
||||
}
|
||||
}
|
||||
|
||||
func (o *listPathOptions) debugln(data ...interface{}) {
|
||||
if metacacheDebug {
|
||||
if serverDebugLog {
|
||||
console.Debugln(data...)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user