Skip to content

Commit 25da38a

Browse files
authored
Merge pull request #8 from DS4SD/dev/add-timings-in-logs
Add timings in logs
2 parents 4a0ac40 + fac73ea commit 25da38a

File tree

1 file changed

+1
-1
lines changed
  • nlp_annotator_api/server

1 file changed

+1
-1
lines changed

nlp_annotator_api/server/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
aiohttp_app.middlewares.append(StatsdMiddleware())
3434

3535
if __name__ == "__main__":
36-
app.run(access_log=access_log)
36+
app.run(access_log=access_log, access_log_format='%a %t "%r" %s %b %Tf "%{Referer}i" "%{User-Agent}i"')

0 commit comments

Comments
 (0)