summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vito.caputo@coreos.com>2015-07-10 16:40:46 -0700
committerVito Caputo <vito.caputo@coreos.com>2015-07-10 16:40:46 -0700
commit3541bf1f07cca5bdd14006f5ab42a915e8258b52 (patch)
tree7d17cab7aef61d2f89396f86863c880149688cf8
parenta0f7095171f03517bb44f91c67098ddd53537b54 (diff)
core: include unit in path state transition debug logging.
-rw-r--r--src/core/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/path.c b/src/core/path.c
index 6d26d89e82..20995d920c 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);
}