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

Extra newlines in saw get output #74

Open
a-h opened this issue Sep 14, 2022 · 0 comments
Open

Extra newlines in saw get output #74

a-h opened this issue Sep 14, 2022 · 0 comments

Comments

@a-h
Copy link

a-h commented Sep 14, 2022

There's an extra newline if your log entries already end with a newline.

image

I notice that if you're streaming logs, the newline gets stripped.

https://github.com/TylerBrock/saw/blob/master/blade/blade.go#L146-L147

Easy fix though.

a-h@21e6320

Then gives the expected output.

image

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