Skip to content

Add support for systemd/syslog priority levels to the console logger #650

Closed

Description

@halter73

In order to better support systemd app monitoring, we should add an option to the console logger to use systemd daemon logging prefixes as described here. This will allow better filtering of logs via journalctl. Basically we just need to prefix logs with <Numeric Log Number>. Based on the linked man page, we might also want to write to stderr instead of stdout, but I'm not sure if this is necessary.

See aspnet/KestrelHttpServer#2679 for original customer report.

Activity

  1. muratg commented on Jun 29, 2018

    @muratg

    Let's consider this for 3.0.0.

  2. gfoidl commented on Aug 10, 2018

    @gfoidl
    Member

    we might also want to write to stderr instead of stdout

    For this see aspnet/Logging#661

  3. added this to the 3.0.0 milestone on Dec 13, 2018
  4. modified the milestones: 3.0.0, Backlog on Jan 8, 2019
  5. BrennanConroy commented on Jun 5, 2019

    @BrennanConroy
    Member

    Done via #1777

  6. ghost locked as resolved and limited conversation to collaborators on Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions