summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd77780)
raw | patch | inline | side by side (parent: bd77780)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 23 Nov 2008 16:22:48 +0000 (17:22 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 23 Nov 2008 16:22:48 +0000 (17:22 +0100) |
src/filter_chain.c | patch | blob | history |
diff --git a/src/filter_chain.c b/src/filter_chain.c
index feda6f01af3fe24f92fc6a33a751079b0bfb9528..109a32a03c55e13b9f903abdd0abb97cb5113b25 100644 (file)
--- a/src/filter_chain.c
+++ b/src/filter_chain.c
if (rule->name[0] != 0)
{
- DEBUG ("fc_process_chain: Testing the `%s' rule.", rule->name);
+ DEBUG ("fc_process_chain (%s): Testing the `%s' rule.",
+ chain->name, rule->name);
}
/* N. B.: rule->matches may be NULL. */
&match->user_data);
if (status < 0)
{
- WARNING ("fc_process_chain: A match failed.");
+ WARNING ("fc_process_chain (%s): A match failed.", chain->name);
break;
}
else if (status != FC_MATCH_MATCHES)
if (rule->name[0] != 0)
{
- DEBUG ("fc_process_chain: Rule `%s' matches.", rule->name);
+ DEBUG ("fc_process_chain (%s): Rule `%s' matches.",
+ chain->name, rule->name);
}
for (target = rule->targets; target != NULL; target = target->next)
&target->user_data);
if (status < 0)
{
- WARNING ("fc_process_chain: A target failed.");
+ WARNING ("fc_process_chain (%s): A target failed.", chain->name);
continue;
}
else if (status == FC_ACTION_CONTINUE)
break;
else
{
- WARNING ("fc_process_chain: Unknown target return value: %i", status);
+ WARNING ("fc_process_chain (%s): Unknown return value "
+ "from target `%s': %i",
+ chain->name, target->name, status);
}
}
{
if (rule->name[0] != 0)
{
- DEBUG ("fc_process_chain: Rule `%s' signaled the stop condition.",
- rule->name);
+ DEBUG ("fc_process_chain (%s): Rule `%s' signaled "
+ "the stop condition.",
+ chain->name, rule->name);
}
break;
}