-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Handle \e[0;m
sequence
#3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you in the right place?
Describe the problem
gitlab-runner
for whatever reason dumps its logs to the syslog with ANSI sequences, which is.. annoying. So, I was trying to sanitize those log lines in fluentd with the help of thesanitize
method from thestrings-ansi
package but failed. It looks like the generated\e[0;m
sequence is not handled properly by the regexp in the code.Steps to reproduce the problem
Actual behaviour
The sanitized string is still looks:
Expected behaviour
The output should be:
Describe your environment
The text was updated successfully, but these errors were encountered: