On Tue, 2022-03-15 at 13:28 +0000, Luca Boccassi wrote:
> Yes indeed, logs can be filtered by invocation id, eg:
>
> journalctl INVOCATION_ID=abcdefg
That sounds useful.
> Also to make a unit's log "private" (not stored in the system journal)
> LogNamespace= can be used, see:
>
> https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LogNamespace=
That sounds useful too but not for my use-case due to:
This option is only available for system services and is not
supported for services running in per-user instances of the
service manager.
I guess the reason for this is that it uses mount namespaces to
override the journald socket, rather than just pointing the process at
a different socket via another mechanism.
--
bye,
pabs
https://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part