[systemd-devel] unit names in systemd log entries

Yuri D'Elia wavexx at thregr.org
Wed Jan 11 15:45:27 UTC 2017


On Wed, Jan 11 2017, Michael Biebl wrote:
> 2017-01-11 15:41 GMT+01:00 Yuri D'Elia <wavexx at thregr.org>:
>> The description is fine for looking at the status of a service (as the
>> unit name is right there), but it does not help in the log, since I have
>> to go and look which unit has the same description (essentially, I have
>> to grep). The unit name is what matters.
>
> You can use the journal (instead of the syslog output) with a
> different output format (-o).
> The journal has the necessary meta data and can show you the service name.

Yes, but I cannot use the journal everywhere.

Also, this indirectly affects what is written as the text entry in the
journal entry.



More information about the systemd-devel mailing list