This reverts commit 2cdf5e7395.
This commit is contained in:
@@ -185,7 +185,7 @@ func logBrief(r *http.Request, code int, timer *utils.ElapsedTimer, logs *intern
|
|||||||
buf.WriteString(fmt.Sprintf("\n%s", body))
|
buf.WriteString(fmt.Sprintf("\n%s", body))
|
||||||
}
|
}
|
||||||
|
|
||||||
if ok || r.Context().Err() == context.Canceled {
|
if ok {
|
||||||
logger.Info(buf.String())
|
logger.Info(buf.String())
|
||||||
} else {
|
} else {
|
||||||
logger.Error(buf.String())
|
logger.Error(buf.String())
|
||||||
|
|||||||
Reference in New Issue
Block a user