Skip to content
Snippets Groups Projects
Commit 481f49e3 authored by tgs266's avatar tgs266
Browse files

update logger

parent 265a103e
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ func BuildMessage(c *fiber.Ctx) RequestLog { ...@@ -69,7 +69,7 @@ func BuildMessage(c *fiber.Ctx) RequestLog {
Level: "INFO", Level: "INFO",
StatusCode: strconv.Itoa(c.Response().StatusCode()), StatusCode: strconv.Itoa(c.Response().StatusCode()),
Method: c.Method(), Method: c.Method(),
Path: c.Route().Path, Path: c.Path(),
PID: strconv.Itoa(os.Getpid()), PID: strconv.Itoa(os.Getpid()),
} }
return message return message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment