chiark / gitweb /
path-lookup: downgrade again the messages where we log for units
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2013 13:07:20 +0000 (14:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2013 13:07:20 +0000 (14:07 +0100)
commit242c4e1cc4d6419043729904d7dd88b2b1283556
tree3da9018186f14705ac7283c752e5dd8541d63fc0
parentd6cb60c7a05f15ce3145080007bce602a6cb52ba
path-lookup: downgrade again the messages where we log for units

This partially reverts 7ad94c716d6403233d04c4d37cb14df958c9b65d.

After that commit commands such as "systemctl enable" and friends
printed the search path information multiple times in its output, which
is ugly.

If we want the search paths to be printed at a higher log level, then we
should do this in PID 1 only, i.e. split the printing out of the normal
path lookup logic and invoke that explicitly from PID 1 but not in the
auxiliary tools.
src/shared/path-lookup.c