Thanks > On Nov 11, 2015, at 5:03 PM, Rainer Gerhards <[email protected]> wrote: > > fix: https://github.com/rsyslog/rsyslog/pull/577 > > 2015-11-11 9:52 GMT+01:00 Ruoshan Huang <[email protected]>: >> hi there, >> I’m using v8.14.0, and when I try to have a template: >> >> ``` >> template(name="mytmp" type="string" string="%programname:5:$%.log”) >> ``` >> the `programname` is like `xxx_abcd`, but when slicing the string from 5th >> char to the end, a SPACE is appended. so the template renders like: `abcd >> .log`. (NOTE: the space after `abcd`) >> >> is this normal? I was doing okay with some older version 7.6.3. but 8.14.0 >> has this issue. >> >> -- >> Good day! >> ruoshan >> >> _______________________________________________ >> rsyslog mailing list >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> http://www.rsyslog.com/professional-services/ >> What's up with rsyslog? Follow https://twitter.com/rgerhards >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of >> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T >> LIKE THAT. > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT.
-- Good day! ruoshan _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

