I have *rootsh* logging to syslog/rsyslog and I am seeing xterm/terminal
color codes in the logs. My rsyslog configuration has:

$EscapeControlCharactersOnReceive off

I have a template which applies *controlcharacters="drop"* to the /msg/
property. 

This takes care of many control characters but not all of them. For example
/[01;32m/ gets through. 

Is there a way to filter out these sequences as well? I am using
rsyslog-7.4.7-16 on CentOS-7. 

TIA!



--
View this message in context: 
http://rsyslog-users.1305293.n2.nabble.com/Terminal-control-characters-tp7592199.html
Sent from the rsyslog-users mailing list archive at Nabble.com.
_______________________________________________
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