summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index d2dc8b9ef8..9640fca600 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -2842,6 +2842,8 @@ void manager_run_generators(Manager *m) {
_exit(EXIT_FAILURE);
}
+ log_debug("Spawned generator %s as %lu", path, (unsigned long) pid);
+
if ((k = hashmap_put(pids, UINT_TO_PTR(pid), path)) < 0) {
log_error("Failed to add PID to set: %s", strerror(-k));
free(path);
@@ -2868,7 +2870,8 @@ void manager_run_generators(Manager *m) {
log_error("%s exited with exit status %i.", path, si.si_status);
else
log_error("%s terminated by signal %s.", path, signal_to_string(si.si_status));
- }
+ } else
+ log_debug("Generator %s exited successfully.", path);
free(path);
}
@@ -2894,6 +2897,8 @@ void manager_run_generators(Manager *m) {
strv_free(m->lookup_paths.unit_path);
m->lookup_paths.unit_path = l;
+
+ log_debug("Added generator unit path %s to search path.", m->generator_unit_path);
}
finish: