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

Jakub Klinkovský j.l.k at gmx.com
Fri Sep 5 10:22:25 PDT 2014


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.

Adding the -x option to journalctl will also show the following message:

  -- Unit lighttpd.service has begun starting up.

OK, there is a way to identify the unit, but from journalctl(1):

  Note: when attaching journalctl output to bug reports, please do not use -x.

So, if the -x option is not-so-wanted, why is the unit not identified by its
name in the default output? This would also make the default journal output
unambiguous regardless of the units' descriptions.

Regards,
Jakub Klinkovský
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140905/78859409/attachment-0001.sig>


More information about the systemd-devel mailing list