summaryrefslogtreecommitdiff
path: root/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-20 19:19:53 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-20 19:19:53 +0100
commit16354eff99fe673f912862138c4dce30bbd0afb5 (patch)
treef08b5fd25de0e3b34e3ea50062028af9e953e8c1 /manager.c
parent5899f3b7f62151dade30010370fb5d2bcdb93d3a (diff)
make use of logging API wherever appropriate
Diffstat (limited to 'manager.c')
-rw-r--r--manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index a104e2f401..456eb8db1c 100644
--- a/manager.c
+++ b/manager.c
@@ -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;
}