[systemd-devel] unit names in systemd log entries
Reindl Harald
h.reindl at thelounge.net
Wed Jan 11 15:05:10 UTC 2017
Am 11.01.2017 um 15:41 schrieb Yuri D'Elia:
> When systemd is generating log entries for some units, it writes the
> human description in the syslog:
>
> systemd[xy]: Starting GnuPG cryptographic agent...
> systemd[xy]: Stopping GnuPG cryptographic agent...
> systemd[xy]: Closing GnuPG cryptographic agent...
>
> however, over time I've found this behavior increasingly annoying. I
> don't want to see the human description in there, but the actual unit
> name.
>
> 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
IMHO that behavior was always wrong because it's "Description=" while
description != title, in fact the unit-definition is missing a "Title="
which is showed in logs and at startup/shutdown and the description is
only useful for "systemcl status"
More information about the systemd-devel
mailing list