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

optimize: modify init hlog order #66

Merged
merged 1 commit into from
May 8, 2023

Conversation

li-jin-gou
Copy link
Member

What type of PR is this?

optimize

What this PR does / why we need it (en: English/zh: Chinese):

en: modify init hlog order,avoid loss of log printing for registered routes
zh: 调整初始化 hlog 的顺序,避免丢失注册路由的日志

Which issue(s) this PR fixes:

@li-jin-gou
Copy link
Member Author

PATl @rogerogers

@rogerogers
Copy link
Collaborator

logrus的JSONFormatter默认DisableHTMLEscape为false,打印HTML字符会转义,感觉也有点奇怪

@li-jin-gou li-jin-gou merged commit eea7eb4 into cloudwego:main May 8, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants