Skip to content
Snippets Groups Projects
Commit 3b59883b authored by gjahn's avatar gjahn
Browse files

Re-order request log output information

parent 348c6040
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@ func SetRoutes( router *f.App, config *configuration.Config, store state.Store,
if config.LogLevel == "debug" {
router.All( "*", func( c *f.Ctx ) error {
log.Printf( "%s %s mime:%s agent:%s",
c.Path(),
log.Printf( "%s %s mime:%s agent:%s",
c.Method(),
c.Path(),
c.Get( f.HeaderContentType ),
c.Get( f.HeaderUserAgent ),
)
......
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