chiark / gitweb /
manager: log job mode when running job
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Sep 2010 00:16:14 +0000 (02:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Sep 2010 00:16:14 +0000 (02:16 +0200)
src/manager.c

index 3a0ba48..27c8aa4 100644 (file)
@@ -1535,7 +1535,7 @@ int manager_add_job(Manager *m, JobType type, Unit *unit, JobMode mode, bool ove
                 return -EPERM;
         }
 
-        log_debug("Trying to enqueue job %s/%s", unit->meta.id, job_type_to_string(type));
+        log_debug("Trying to enqueue job %s/%s/%s", unit->meta.id, job_type_to_string(type), job_mode_to_string(mode));
 
         if ((r = transaction_add_job_and_dependencies(m, type, unit, NULL, true, override, false, e, &ret)) < 0) {
                 transaction_abort(m);