3 Feb
2012
3 Feb
'12
10:34 a.m.
Vámos Balázs <vamos.balazs@zuriel.hu> writes:
Error message in log: error in template: $(format-json --scope soft-macros)
There is no soft-macros scope, only selected-macros. The list of known scopes is: nv-pairs, dot-nv-pairs, all-nv-pairs, rfc3164 (also aliased to core and base), rfc5424 (also aliased to syslog-proto), all-macros, selected-macros, sdata and everything. As for separating scopes.. as far as I see, you need to use spaces, and quote the scope list: $(format-json --scope "all-macros sdata") I haven't tested this yet, though, and perhaps adding support for using a comma-separated list would be reasonable. But I'm not too keen on doing that, as --scope is something that I don't like all that much.. -- |8]