diff --git a/common/logger.go b/common/logger.go index 68129199f2e079df138af4ab06d5ef36dd2b6e14..3b4b16b44cdcbe51872d08745cb845a53624ad4e 100644 --- a/common/logger.go +++ b/common/logger.go @@ -69,7 +69,7 @@ func BuildMessage(c *fiber.Ctx) RequestLog { Level: "INFO", StatusCode: strconv.Itoa(c.Response().StatusCode()), Method: c.Method(), - Path: c.Route().Path, + Path: c.Path(), PID: strconv.Itoa(os.Getpid()), } return message