Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to not escape control characters #1

Open
thom-nic opened this issue Mar 6, 2015 · 3 comments
Open

Option to not escape control characters #1

thom-nic opened this issue Mar 6, 2015 · 3 comments

Comments

@thom-nic
Copy link

thom-nic commented Mar 6, 2015

I just ran into an issue where papertrail was getting escaped ANSI color sequences like this:
screen shot 2015-03-06 at 3 11 04 pm

The solution I got from their support was to add this to the ryslog conf, which worked!
$EscapeControlCharactersOnReceive off
After:
screen shot 2015-03-06 at 3 57 20 pm

I don't know if that's safe to add by default or if you can add an ansible variable that toggles this setting but either one of those options would be great. Thanks!

@alekseyp
Copy link
Owner

@thom-nic , thanks! ill look into it tomorrow.
Sorry for the delay.

@thom-nic
Copy link
Author

No problem! I should have mentioned, I ran into this on a stock Ubuntu Server 14.04 image with the default rsyslog setup. So I have no idea how often this might crop up for other people but I don't think I was doing anything exceptional.

alekseyp added a commit that referenced this issue Mar 23, 2015
@alekseyp
Copy link
Owner

@thom-nic
I'm not quite convinced that papertrail role should take care of rsyslog configuration that is not really related to papertrail service, but i've added support for it for now.

I'll keep that issue open in case other people would like to add their opinion.

alekseyp pushed a commit that referenced this issue Jan 4, 2017
Added configuration for setting custom hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants