Request subscriber can't populate Response data

Created on 2 November 2024, 20 days ago

Problem/Motivation

The module label is jsonapi_request_logger and subscribes to an onKernelRequest event, but the log template includes status_code that won't be available until a response is handled, e.g. via onKernelResponse

Steps to reproduce

Make a JSONAPI request, note that Status is logged as N/A

Proposed resolution

Offer an option to subscribe to and log Response so that HTTP code is available.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇿New Zealand jonathan_hunt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024