[systemd-devel] Log unit's name instead of unit's description?

Mantas Mikulėnas grawity at gmail.com
Fri Sep 5 10:30:01 PDT 2014


On Fri, Sep 5, 2014 at 8:22 PM, Jakub Klinkovský <j.l.k at gmx.com> wrote:
>
> What is the reason behind logging unit's description? Consider the following
> journal message (from `journalctl -b`):
>
>   systemd[1]: Starting A secure, fast, compliant and very flexible web-server...
>
> It shows some fancy stuff about the started unit, but does not point to any
> particular unit as the description is ambiguous at best.

It is somewhat expected that Description= will just have a
more-readable version of the program's name, rather than some useless
marketing. (Arch has "Apache Web Server" in its httpd.service.) I
guess the service name also wasn't added because it'd make some lines
really long, and because the journal can be queried for it anyway (-o
verbose, etc).

-- 
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list