You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Drupal LoggerChannelInterface and after reading the standards I see that what I was looking for was for opensearch-php to provide placeholders that would bring he context data into the message string. Drupal's LoggerChannelInterface doesn't automatically bring the context in unless there are placeholders in the message... this might be considered a failing in Drupal's implementation of the PSR\Log\LoggerInterface.
I will look into getting Drupal modified to add the context when displaying out outputting the logs along with the message.
dblock
changed the title
[BUG]
[BUG] Logging is not sufficient... The $context parameters is not properly used when logging to PSR\Log\LoggerInterface
Dec 5, 2023
What is the bug?
Logging is not sufficient... The $context parameters is not properly used when logging to PSR\Log\LoggerInterface
How can one reproduce the bug?
look at the logs that are produced
The text was updated successfully, but these errors were encountered: