ok,sounds like I implement the full set...

Rainer


Sent from phone, thus brief.

[email protected] hat geschrieben:
yOn Wed, 12 Sep 2012, Abby Edwards wrote:

> Date: Wed, 12 Sep 2012 14:44:40 -0500
>
> On 9/12/12 2:26 PM, "Rainer Gerhards" <[email protected]> wrote:
>
>
>>>> we really need an option to skip escaping tabs while still escaping
>>> all
>>>> the other control characters. too many logs include tabs and it gets
>>>> 'interesting' to try and read them with #011 replacing them :)
>>>
>>> I definitely agree with the notion of having a way to escape all
>>> control
>>> characters except for tabs; I already have some logic in place in my
>>> applications to handle literal tabs, but other control characters make
>>> sense to escape.  Right now I have to turn off the feature to escape
>>> control characters just to preserve the tab behavior so as not to break
>>> parsing.  +1 for this suggestion from me!
>>
>> Folks, message heard, I'll see if I can add a global option for
>> escape-all-but-tab. HOWEVER, my question was a different one ;)
>>
>> I was talking about escapes for script expressions, inside constant
>> strings. So
>>
>> If $something contains 'aaa<escape here>bbbb' then ...
>>
>> This was triggered by Radu's question on how to escape backslash. With
>> that said: do we need more than \\, \', \xhh inside script constants?
>>
>
> In light of the fact rsyslog supports octet framing which means log
> messages may actually contain new lines, it might be less surprising for
> end users to be able to specify \r and / or \n directly without having to
> specify it by hex code, but the hex code provides enough flexibility to
> cover almost any circumstance.  I could see you going either way.

good point, I forgot about that.

David Lang
_______________________________________________
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.

Reply via email to