LandRegistry/service-frontend — pull request #9 by opyate (2014-07-29 21:38:56+00:00)
Title: add user audit

Logs would look like this before and after login:

```
--------------------------------------------------------------------------------
DEBUG in server [/service-frontend/service/server.py:16]:
Audit: user=[anon], request=[]
--------------------------------------------------------------------------------
127.0.0.1 - - [29/Jul/2014 22:36:26] "POST /login HTTP/1.1" 302 -
--------------------------------------------------------------------------------
DEBUG in server [/service-frontend/service/server.py:14]:
Audit: user=[1], request=[]
--------------------------------------------------------------------------------
127.0.0.1 - - [29/Jul/2014 22:36:26] "GET / HTTP/1.1" 200 -

```

Note how ```user``` goes from ```anon``` to ID ```1```.