meta access log to stdout
This commit is contained in:
@@ -311,7 +311,7 @@ func withMeta(w http.ResponseWriter, r *http.Request) (*http.Request, func()) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
log.Printf("[access] %s", b)
|
||||
fmt.Printf("[access] %s\n", b)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user