On Fri, Jun 25, 2021 at 05:23:08PM +0100, Daniel P. Berrangé wrote:
On Fri, Jun 25, 2021 at 10:21:05AM +0000, Zbigniew Jędrzejewski-Szmek
wrote:
> Hi,
>
> systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat=
> / -Dstatus-unit-format-default= option to use unit names instead of the
> Description in messages on the kernel console and in logs:
>
> - Jun 20 22:04:48 krowka systemd[1]: Started Rule-based Manager for Device Events
and Files.
> + Jun 20 22:04:48 krowka systemd[1]: Started systemd-udevd.service.
>
> I find this more convenient because it's briefer, so it fits better on
> a terminal, but primarily because I can select&paste the unit name for
> further lookup. When Description is used, and I'm not familiar with
> the unit, I'll often use grep first to figure out what the unit name
> actually is. Finally, unit Descriptions are often not very good, and
> the name is at least as informative…
IIUC, the descriptions are not translated / localized. So perhaps
the unit file names are more meaningful for non-english speakers
too ?
Logs are not localized in general, because they are "global", shared
between all users. This is a valid point: I'm pretty sure that 99% of
people will immediately have a rough idea what lighttppd.service is.
But "Lightning Fast Webserver With Light System Requirements"? This
baroque description will be even more confusing to non-native speakers.
Zbyszek