Bases: object
Middleware to output operation log.
- This log can includes information below.
- <domain name>, <domain id>
<project name>, <project id>
<user name>, <user id>
<request scheme>, <referer url>, <request url>
<message>, <method>, <http status>
<request parameters>
And log format is defined OPERATION_LOG_OPTIONS.
-
OPERATION_LOG[source]
-
process_exception(request, exception)[source]
Log error info when exception occurred.
-
process_response(request, response)[source]
Log user operation.