Write Json format request log.

Also set the non-json log to `sync = true` so we get entries into Kibana faster.