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

请教关于-alsologtostderr 的具体作用。 #59

Open
luyingjie opened this issue Mar 10, 2020 · 1 comment
Open

请教关于-alsologtostderr 的具体作用。 #59

luyingjie opened this issue Mar 10, 2020 · 1 comment

Comments

@luyingjie
Copy link

run

./discovery -conf discovery-example.toml -alsologtostderr

的时候报错:
flag provided but not defined: -alsologtostderr
去掉-alsologtostderr可以执行,想请教这个具体的作用,谢谢。

@AriesYB
Copy link

AriesYB commented Mar 13, 2021

我跑goim时(需要更换discovery 新版本 v 1.2.0)加这个命令有用,好像是把cmd/main.go中的log.Infof()输出到控制台,不加这个控制台不打印内容

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