summaryrefslogtreecommitdiff
path: root/src/core/path.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-07-10 20:42:32 -0400
committerDaniel Mack <github@zonque.org>2015-07-10 20:42:32 -0400
commitf2db89c99cd9d4fd78581101ef8f74ee784a5818 (patch)
tree6e175692489d85a7d8d2873ba2c048d37081dc3f /src/core/path.c
parent537c1656c89c137aa09a836f91f9e685c8fdb87d (diff)
parent3541bf1f07cca5bdd14006f5ab42a915e8258b52 (diff)
Merge pull request #548 from vcaputo/fix_path_state_debug_msg
core: include unit in path state transition debug logging.
Diffstat (limited to 'src/core/path.c')
-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);
}