[systemd-devel] unit names in systemd log entries

Reindl Harald h.reindl at thelounge.net
Wed Jan 11 15:20:25 UTC 2017



Am 11.01.2017 um 16:11 schrieb Yuri D'Elia:
> On Wed, Jan 11 2017, Reindl Harald wrote:
>>> 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"
>
> I want to see the _handle_ I can manipulate through the commands (for
> example, to set filters).
>
> I'd actually avoid title as well: Title= would still require grepping
> through files to get unit names, which is no different

agreed - but the title would be way nicer at boot/startup comapred to a 
long description which wraps line or get cutted in the middle

currently you can't or shouldn't use "description" for what 
"description" means because it's re-use everywehere


More information about the systemd-devel mailing list