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

Logging issue with Amazon Linux 2 #155

Open
lynchem opened this issue Feb 7, 2022 · 0 comments
Open

Logging issue with Amazon Linux 2 #155

lynchem opened this issue Feb 7, 2022 · 0 comments

Comments

@lynchem
Copy link

lynchem commented Feb 7, 2022

Since updating one of our deployments to Amazon Linux 2 we have some issues with the log output. The biggest issue is that if you dump an exception or callstack to the console that feeds into cloudwatch logs as multiple lines rather than as previously as a single line. Another irritation is that you end up with a prefix on every line (although this is easier to remove).

Feb 6 20:16:28 ip-172-31-21-148 web: 

See the screenshot
image

We did some digging and the only reference to it we can find it is this serverfault post

We pipe our logs into elastic and this throws off all the filtering and dependent alarms.

Anyone seen this or know of a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant