mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
b59a2bc4fe
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. (cherry picked from commit a0cca4d1b07e603e0ceeaff6d42518d5546617f8) (cherry picked from commit eef244f6c6b47c3110d20e7e7cb9152df1e90700) (cherry picked from commit f5ab16c1914c7c5ad66ff78ccdb03e687caf487b)