Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
SafeMarkup::format() is deprecated and other core loggers (syslog, dblog) use the logger.log_message_parser service to parse message placeholders.
Proposed resolution
Use the logger.log_message_parser service to parse message placeholders.
Maybe we could add a setting to let site admin decide to replace or not message placeholders (not included in this patch).
Remaining tasks
Review patch.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | replace-2649016-2.patch | 813 bytes | lussoluca |
Comments
Comment #2
lussolucaComment #3
lussolucaForgot NR
Comment #4
lussolucaNo it's NR, sorry for this noise
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentedthanks!