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中字段无法作为fields #84

Closed
zhanghaofei opened this issue Jul 19, 2018 · 2 comments
Closed

extra中字段无法作为fields #84

zhanghaofei opened this issue Jul 19, 2018 · 2 comments

Comments

@zhanghaofei
Copy link

zhanghaofei commented Jul 19, 2018

例如log.error("msg", extra={"a": 1}),我想把一些额外信息作为单独字段上传到sls。应该不适用枚举使用户可自定义

@wjo1212
Copy link
Contributor

wjo1212 commented Jul 19, 2018

收到,我解决一下

wjo1212 added a commit that referenced this issue Jan 8, 2019
2. add more logging handler default fields
3. allow to add custom fields
4. add blacklist for reserved fields
@wjo1212
Copy link
Contributor

wjo1212 commented Jan 8, 2019

@zhanghaofei 最新master版本已经支持了,烦请试下。我这里CI跑过也会上传一个版本到pypi

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

2 participants