projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d71adc
)
varnish: hint about missing <Instance> block
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.
src/varnish.c
patch
|
blob
|
history
diff --git
a/src/varnish.c
b/src/varnish.c
index
602f47a
..
5de3389
100644
(file)
--- a/
src/varnish.c
+++ b/
src/varnish.c
@@
-603,7
+603,9
@@
static int varnish_config_instance (const oconfig_item_t *ci) /* {{{ */
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);
}
}