diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2015-07-20 17:18:13 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2015-07-21 15:09:12 +0200 |
commit | a85ca902c9f7f5aa8f2f3e3299147733802cf09d (patch) | |
tree | bbeb7204d8b2cd2ce52b0f441b5600aaca240ecc /units/rescue.target | |
parent | 2d018ae23b838f050516d06859f50ecb9733d44b (diff) |
core: always try harder to get unit status message format string
The starting/stopping messages are printed to the console only if the
corresponding format string is defined in the unit's vtable. To avoid
excessive messages on the console, the unit types whose start/stop
jobs are instantaneous had the format strings intentionally undefined.
When logging the same event to the journal, a fallback to generic
Starting/Stopping/Reloading messages is used.
The problem of excessive console messages with instantaneous jobs
is already resolved in a nicer way ("core: fix confusing logging of
instantaneous jobs"), so there's no longer a need to have two ways of
getting the format strings. Let's fold them into one function with
the fallback to generic message strings.
Diffstat (limited to 'units/rescue.target')
0 files changed, 0 insertions, 0 deletions