diff options
author | Luca Boccassi <bluca@debian.org> | 2024-01-18 20:32:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-19 17:03:04 +0100 |
commit | a0cca4d1b07e603e0ceeaff6d42518d5546617f8 (patch) | |
tree | 0d7590ca5ddb17efaec098d67eb7d1e36fad95d9 /src/varlinkctl/varlinkctl.c | |
parent | man: clarify description of Attach/Detach flags (diff) | |
download | systemd-a0cca4d1b07e603e0ceeaff6d42518d5546617f8.tar.xz systemd-a0cca4d1b07e603e0ceeaff6d42518d5546617f8.zip |
portable: log structured message when attach/detach succeeds
Currently portabled is completely silent (when not using debug level). But
when the system state is changed (ie: a portable is attached or detached)
there are no traces left in the journal. Log at info level when either of
those operations succeed, as they are effectively changing the state of
the system.
Create new MESSAGE_IDs for these logs, and also append PORTABLE_ROOT=
(and PORTABLE_EXTENSION= if any), like the units themselves are
configured to do via LogExtraFields=, so that the same metadata can
be found in the attach/detach messages and in logs from the units
themselves.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions