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

[RFE] log: support %m format specifier regardless if this GNU extension supported by libc #341

Open
jnpkrn opened this issue Mar 14, 2019 · 0 comments

Comments

@jnpkrn
Copy link
Contributor

jnpkrn commented Mar 14, 2019

I think this shall only be handled once structured logging (#286)
is resolved since there are some synergetic optimizations, e.g., when
logging to blackbox (turn %m into something like "\bm", store errno
in the structured payload for a message, only involve strerror
equivalent during the interpretation by qb-blackbox), but would be
handy to always have this flexibility available regardless of the
libc extra (above POSIX) features.

Last but not least, qb_perror definition could then start relying
on that, making it slightly less complex (it's a user facing code)
and more friendly for copycat'ing to one's liking.

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