add _MINIO_SERVER_DEBUG env for enabling debug messages (#11128)

This commit is contained in:
Harshavardhana
2020-12-17 16:52:47 -08:00
committed by GitHub
parent 7c9ef76f66
commit f714840da7
9 changed files with 30 additions and 20 deletions

View File

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