diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-20 19:19:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-20 19:19:53 +0100 |
commit | 16354eff99fe673f912862138c4dce30bbd0afb5 (patch) | |
tree | f08b5fd25de0e3b34e3ea50062028af9e953e8c1 /manager.c | |
parent | 5899f3b7f62151dade30010370fb5d2bcdb93d3a (diff) |
make use of logging API wherever appropriate
Diffstat (limited to 'manager.c')
-rw-r--r-- | manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ #include "hashmap.h" #include "macro.h" #include "strv.h" +#include "log.h" Manager* manager_new(void) { Manager *m; @@ -166,7 +167,6 @@ static void transaction_merge_and_delete_job(Manager *m, Job *j, Job *other, Job j->object_list = other->object_list; } - /* Kill the other job */ other->subject_list = NULL; other->object_list = NULL; @@ -221,6 +221,7 @@ static int transaction_verify_order_one(Manager *m, Job *j, Job *from, unsigned for (k = from; k; k = (k->generation == generation ? k->marker : NULL)) { if (!k->matters_to_anchor) { + log_debug("Breaking order cycle by deleting job %s", name_id(k->name)); manager_transaction_delete_job(m, k); return -EAGAIN; } |