Split from comment #6 of bug 5027.
>- POST/ GET log messages appears after an error which is raised with
> the handling of the request.
> # grep 15129 /var/log/tlwebaccess.log
> 2014-04-15 07:52:30 ERROR tlwebaccess: valid_username: Username u'b\xe5sse' can't be encoded in the system locale (ANSI_X3.4-1968)
> 2014-04-15 07:52:30 INFO tlwebaccess: 'POST /main/ HTTP/1.1' 200 -
Processing needs to happen before we have a HTTP status code to log along with the request, so we should reconsider the "imitate apache" approach to logging.