fix: change web requests log level to debug
This commit is contained in:
@@ -40,11 +40,7 @@ func RequestLogger(next http.Handler) http.Handler {
|
|||||||
case status >= 400:
|
case status >= 400:
|
||||||
log.Warn(logArgs...)
|
log.Warn(logArgs...)
|
||||||
default:
|
default:
|
||||||
if log.CurrentLevel() >= log.LevelDebug {
|
|
||||||
log.Debug(logArgs...)
|
log.Debug(logArgs...)
|
||||||
} else {
|
|
||||||
log.Info(logArgs...)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user