From: Vito Caputo Date: Fri, 10 Jul 2015 23:40:46 +0000 (-0700) Subject: core: include unit in path state transition debug logging. X-Git-Tag: v223~122^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F548%2Fhead;p=thirdparty%2Fsystemd.git core: include unit in path state transition debug logging. --- diff --git a/src/core/path.c b/src/core/path.c index 6d26d89e82d..20995d920c7 100644 --- a/src/core/path.c +++ b/src/core/path.c @@ -426,7 +426,7 @@ static void path_set_state(Path *p, PathState state) { path_unwatch(p); if (state != old_state) - log_debug("Changed %s -> %s", path_state_to_string(old_state), path_state_to_string(state)); + log_unit_debug(UNIT(p), "Changed %s -> %s", path_state_to_string(old_state), path_state_to_string(state)); unit_notify(UNIT(p), state_translation_table[old_state], state_translation_table[state], true); }