Placeholder variables are not working (new relic)

Created on 4 November 2022, over 1 year ago
Updated 30 April 2024, about 2 months ago

Hello,
I'm trying to get logs in New Relic using this Monolog module.
I get logs in New Relic now, however the placeholders are not getting the original values.
For instance I can see these logs in New Relic:

13:49:25.909 Session opened for %name.
14:16:26.970 Session closed for %name.

Eg. I need %name to be the actual username in this example.

I'm using this in my service.yml:

parameters:
  monolog.channel_handlers:
    default:
      handlers:
        - name: 'drupal.dblog'
          formatter: 'minimal_line'

Help much appreciated
Regards J

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡°Denmark jnorl

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024