[syslog-ng] [PATCH] basicfuncs: Implement a $(substr START LEN STR) template function.

Gergely Nagy algernon at balabit.hu
Sat Apr 9 13:08:01 CEST 2011


Gergely Nagy <algernon at balabit.hu> writes:

> This implements the $(substr) template function - a fairly primitive
> one: it does error checking, but there's no error reporting present,
> therefore invalid function calls will just get ignored.

The patch was made against syslog-ng 3.3 HEAD, but should apply to 3.2
aswell. Either cleanly or with minor tweaks only.

-- 
|8]



More information about the syslog-ng mailing list