use default logging format, which is JSON, so that Datadog can parse it
This commit is contained in:
@@ -87,7 +87,6 @@ func serve(cctx *cli.Context) error {
|
|||||||
Skipper: func(c echo.Context) bool {
|
Skipper: func(c echo.Context) bool {
|
||||||
return strings.HasPrefix(c.Request().URL.Path, "/static")
|
return strings.HasPrefix(c.Request().URL.Path, "/static")
|
||||||
},
|
},
|
||||||
Format: "method=${method} path=${uri} status=${status} latency=${latency_human}\n",
|
|
||||||
}))
|
}))
|
||||||
e.Renderer = NewRenderer("templates/", &bskyweb.TemplateFS, debug)
|
e.Renderer = NewRenderer("templates/", &bskyweb.TemplateFS, debug)
|
||||||
e.HTTPErrorHandler = customHTTPErrorHandler
|
e.HTTPErrorHandler = customHTTPErrorHandler
|
||||||
|
|||||||
Reference in New Issue
Block a user