added time to request logger
This commit is contained in:
parent
b0219e9052
commit
568928b157
|
@ -14,7 +14,7 @@ func NewEcho() *echo.Echo {
|
||||||
|
|
||||||
// Logger
|
// Logger
|
||||||
e.Use(middleware.LoggerWithConfig(middleware.LoggerConfig{
|
e.Use(middleware.LoggerWithConfig(middleware.LoggerConfig{
|
||||||
Format: "${time_rfc3339}: ${remote_ip} ${method} ${status} ${uri} - ${user_agent}\n",
|
Format: "${time_rfc3339}: ${remote_ip} ${method} ${status} ${uri} ${latency_human} - ${user_agent}\n",
|
||||||
}))
|
}))
|
||||||
|
|
||||||
// Static Content
|
// Static Content
|
||||||
|
|
Loading…
Reference in New Issue