[syslog-ng] [PATCH (3.4)] jsonparser: Clone the marker() setting when cloning the parser
Balazs Scheidler
bazsi77 at gmail.com
Sat Aug 18 13:38:11 CEST 2012
Merged this one too. Thanks Gergely.
On Fri, 2012-07-06 at 11:58 +0200, Gergely Nagy wrote:
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>
> ---
> modules/jsonparser/jsonparser.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/modules/jsonparser/jsonparser.c b/modules/jsonparser/jsonparser.c
> index 7331ad9..891b9f0 100644
> --- a/modules/jsonparser/jsonparser.c
> +++ b/modules/jsonparser/jsonparser.c
> @@ -201,6 +201,7 @@ log_json_parser_clone (LogPipe *s)
>
> cloned = (LogJSONParser *) log_json_parser_new ();
> log_json_parser_set_prefix ((LogParser *)cloned, self->prefix);
> + log_json_parser_set_marker ((LogParser *)cloned, self->marker);
>
> return &cloned->super.super;
> }
More information about the syslog-ng
mailing list