Hi, i use function replace(), replacing to empty string ''. m. On Fri, Sep 27, 2019 at 10:42 AM Peter Viskup via rsyslog < [email protected]> wrote:
> What should be the best way to handle carriage return character on the end > of message? > > Without setting the $EscapeControlCharactersOnReceive to off, the messages > end with #015 and are also forwarded that way. > With setting $EscapeControlCharactersOnReceive to off the messages are > forwarded with \r on the end, but this also affects whole message > processing. > > Is there any other way to deal with this? Thought about possibility to > remove the character by regular expression, which might raise performance > issues. > > -- > Peter > _______________________________________________ > 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.

