python-systemd icon indicating copy to clipboard operation
python-systemd copied to clipboard

No support for LOG_NOTICE or LOG_EMERG

Open doolio opened this issue 11 months ago • 0 comments

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?

doolio avatar Feb 04 '25 13:02 doolio