Problem/Motivation

core/lib/Drupal/Core/Logger/RfcLogLevel.php docs reference log severity levels as defined in RFC 5424 section 4.1.1. However, there is no such section. Section 4.1 describes Example Deployment Scenarios. Section 6.2.1 defines Syslog Message Severities. The attached patch corrects the RFC reference to be 6.2.1, and changes the associated link.

Steps to reproduce

View docs in core/lib/Drupal/Core/Logger/RfcLogLevel.php

Proposed resolution

Fix reference to correct section in RFC 5424.

Remaining tasks

Confirm new reference.

User interface changes

Nil.

API changes

Nil.

Data model changes

Nil.

Release notes snippet

Fix reference to logging severity levels in RFC 5424 (corrected to section 6.2.1).

Comments

jonathan_hunt created an issue. See original summary.

jonathan_hunt’s picture

Issue summary: View changes
longwave’s picture

Status: Active » Reviewed & tested by the community
Issue tags: +Quick fix

Nice find, confirmed that section 6.2.1 is correct.

  • catch committed a245f97 on 9.1.x
    Issue #3164678 by jonathan_hunt, longwave: Reference to RFC5424 severity...

  • catch committed b9927fc on 9.0.x
    Issue #3164678 by jonathan_hunt, longwave: Reference to RFC5424 severity...

  • catch committed 1965c9c on 8.9.x
    Issue #3164678 by jonathan_hunt, longwave: Reference to RFC5424 severity...
catch’s picture

Version: 9.0.x-dev » 8.9.x-dev
Status: Reviewed & tested by the community » Fixed

committed/pushed to 9.1.x and cherry-picked back to 8.9.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.