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

Log info on incoming request to server when debug flag is set #9989

Closed
jingyih opened this issue Aug 8, 2018 · 2 comments
Closed

Log info on incoming request to server when debug flag is set #9989

jingyih opened this issue Aug 8, 2018 · 2 comments
Assignees

Comments

@jingyih
Copy link
Contributor

jingyih commented Aug 8, 2018

In etcd v2, when --debug flag is set, information on incoming requests to the server will be logged. This is helpful for debugging purpose. We are working on a PR to add this capability back to etcd v3.

Example log output in etcd v2:

./etcdctl set foo bar
2018-08-08 15:07:08.199419 D | etcdhttp: [PUT] /v2/keys/foo remote:127.0.0.1:44548
@jingyih
Copy link
Contributor Author

jingyih commented Aug 8, 2018

@jpbetz @gyuho

@jpbetz jpbetz changed the title Log info on incoming request to server when debug flag is set etcdserver: Log info on incoming request to server when debug flag is set Aug 8, 2018
@jpbetz jpbetz changed the title etcdserver: Log info on incoming request to server when debug flag is set Log info on incoming request to server when debug flag is set Aug 8, 2018
@gyuho
Copy link
Contributor

gyuho commented Aug 8, 2018

@jingyih @jpbetz Sounds useful. Looking forward to the PR. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants