1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

path: show more path details in log

This commit is contained in:
Steffen Vogel 2017-08-31 11:31:43 +02:00
parent 06d279515e
commit de860087b7

View file

@ -424,7 +424,16 @@ int path_start(struct path *p)
assert(p->state == STATE_CHECKED);
info("Starting path %s: enabled=%s, queuelen=%d, #hooks=%zu, #sources=%zu, #destinations=%zu", path_name(p), p->enabled ? "yes": "no", p->queuelen, list_length(&p->hooks), list_length(&p->sources), list_length(&p->destinations));
info("Starting path %s: enabled=%s, reversed=%s, queuelen=%d, samplelen=%d, #hooks=%zu, #sources=%zu, #destinations=%zu",
path_name(p),
p->enabled ? "yes": "no",
p->reverse ? "yes": "no",
p->queuelen,
p->samplelen,
list_length(&p->hooks),
list_length(&p->sources),
list_length(&p->destinations)
);
for (size_t i = 0; i < list_length(&p->hooks); i++) {
struct hook *h = list_at(&p->hooks, i);