- Set trace id from incoming request or generate new trace id.
- Log incoming request
- Add trace id to response
- Log outgoing response body
Adds to log message extra data with application name. Needs for GELF.
Adds to log message extra data with an additional log level name. Needs for GELF.
Adds to log message extra data with trace id. All logs will have key extra.trace_id with trace id obtained from the incoming request or generated. (Requestlogger.php)
Adds to log message extra data with any key / value pairs in "extra" section