]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: append LogExtraFields= values to log_unit* messages 26794/head
authorLuca Boccassi <bluca@debian.org>
Mon, 13 Mar 2023 21:34:37 +0000 (21:34 +0000)
committerLuca Boccassi <bluca@debian.org>
Tue, 14 Mar 2023 16:38:23 +0000 (16:38 +0000)
commit1092e82bb74555da354d0507398a833a65c8f068
tree64f8bcf733e9e73c1dfe037b4359fabbf02b683e
parent2461943b847d2f17d399b4820c8f37c912871e7d
core: append LogExtraFields= values to log_unit* messages

This ensure messages from PID1 regarding a unit also contain those
fields. For example, portable services have PORTABLE=<image> as
extra fields, which is useful to identify which version of a portable
image produced a log message like an error or an oomd kill.
man/systemd.exec.xml
src/core/unit.h