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

pkg: remove capnslog #11616

Merged
merged 2 commits into from
Feb 12, 2020
Merged

pkg: remove capnslog #11616

merged 2 commits into from
Feb 12, 2020

Conversation

jingyih
Copy link
Contributor

@jingyih jingyih commented Feb 12, 2020

Remove dependency of capnslog in pkg package.

Related: #11426

@@ -321,7 +321,7 @@ func (cfg *config) configFromCmdLine() error {
}
}

err := flags.SetFlagsFromEnv("ETCD", cfg.cf.flagSet)
err := flags.SetFlagsFromEnv(cfg.ec.GetLogger(), "ETCD", cfg.cf.flagSet)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: At this point, I don't think user-configured zap logger is properly setup yet. Should we use zap.NewProduction() or maybe a different logger?

Copy link
Contributor

Choose a reason for hiding this comment

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

zap.NewProduction should be fine.

@jingyih jingyih force-pushed the remove_capnslog_in_pkg branch from 84b85b4 to 912c8bf Compare February 12, 2020 18:23
@xiang90
Copy link
Contributor

xiang90 commented Feb 12, 2020

@jingyih can you resolve the conflict in the changlog? thanks.

@jingyih jingyih force-pushed the remove_capnslog_in_pkg branch from 912c8bf to 81d9872 Compare February 12, 2020 18:44
@jingyih
Copy link
Contributor Author

jingyih commented Feb 12, 2020

@jingyih can you resolve the conflict in the changlog? thanks.

@xiang90 Rebased and resolved.

@xiang90 xiang90 merged commit ae98352 into etcd-io:master Feb 12, 2020
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.

3 participants