summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7d71adc)
raw | patch | inline | side by side (parent: 7d71adc)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 17 May 2013 11:13:43 +0000 (13:13 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 17 May 2013 11:13:43 +0000 (13:13 +0200) |
The warning when the Collect* configuration options where used outside
of an <Instance> block was confusing. This patch warns the user the same
way the apache plugin does.
of an <Instance> block was confusing. This patch warns the user the same
way the apache plugin does.
src/varnish.c | patch | blob | history |
diff --git a/src/varnish.c b/src/varnish.c
index 602f47af6231f59d40b51ccbd86800d1ca31bf3d..5de3389d862eb41828b5fb73a55f1d5fe2197104 100644 (file)
--- a/src/varnish.c
+++ b/src/varnish.c
else
{
WARNING ("Varnish plugin: Ignoring unknown "
- "configuration option: \"%s\"",
+ "configuration option: \"%s\". Did "
+ "you forget to add an <Instance /> "
+ "block around the configuration?",
child->key);
}
}