mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 13:10:22 +03: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