fixed logging
This commit is contained in:
parent
7c7b816813
commit
5bb67f7922
2 changed files with 3 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ func (c *Context) log() {
|
|||
c.logger.Info("access",
|
||||
"addr", c.Request.RemoteAddr,
|
||||
"method", c.Request.Method,
|
||||
"url", c.Request.URL,
|
||||
"url", c.Request.URL.Path,
|
||||
"status", c.Status,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue