Re: [systemd-devel] Systemd service and structured logging

2019-05-03 Thread Jérémy ROSEN
if you want the whole power of structured logs, you need to use the journald API I am not sure in what language your program is written, but if you are using C, it's pretty trivial to do (and i'm pretty sure most bindings are trivial to use too) Automated parsing of stdout is limited, you can * ad

[systemd-devel] Systemd service and structured logging

2019-05-03 Thread Thomas Güttler
I have a systemd service which is of type "simple". I want my service to log key-value pairs. Is there a way to use structured logs with systemd? For example my service writes this to stdout: {"key1": "value1", "key2": 1234} {"key1": "value2", "key2": 5678} ... It would be great of systemd c

Re: [systemd-devel] EFI loader partition unknown

2019-05-03 Thread Lennart Poettering
On Fr, 03.05.19 00:37, Chris Murphy ([email protected]) wrote: > systemd-242-3.git7a6d834.fc31.x86_64 > > With the Fedora /etc/fstab entry for /boot/efi commented out, systemd > isn't discovering the EFI system partition and mounting it. The /efi > directory exists, and I've tried to boot wi