8000 No support for LOG_NOTICE or LOG_EMERG · Issue #141 · systemd/python-systemd · GitHub
[go: up one dir, main page]

Skip to content
No support for LOG_NOTICE or LOG_EMERG #141
@doolio

Description

@doolio

There does not seem to be support for LOG_NOTICE or LOG_EMERG. Any level higher than logging.CRITICAL is mapped to LOG_ALERT. I presume there is a reason for this but could not discern that from the docs.

If one wished to support these levels I suppose they could subclass JournalHandler and override map_priority. Is that right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0