Skip to content

Use folly::humanify to eliminate unprintable characters to dirty the logs - #534

Merged
lehecka merged 1 commit into
rsocket:masterfrom
phoad:prettyprint
Jun 20, 2017
Merged

Use folly::humanify to eliminate unprintable characters to dirty the logs#534
lehecka merged 1 commit into
rsocket:masterfrom
phoad:prettyprint

Conversation

@phoad

Copy link
Copy Markdown
Member

It might be annoying for terminal output when payloads contain binary. Have you considered hex formatting or filtering unprintable characters?

This update tries to use folly::humanify function to eliminate publishing unprintable characters.

@phoad
phoad requested review from somasun and yschimkeJune 20, 2017 17:08

@ragansaragansa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@lehecka
lehecka merged commit 4fc2235 into rsocket:masterJun 20, 2017
@phoad
phoad deleted the prettyprint branch June 20, 2017 19:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@phoad@ragansa@lehecka