Open jrglasgow opened 1 year ago
Which logger is in use?
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.
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