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

Impossible to configure logging format when using zap logger #13295

Closed
socketpair opened this issue Aug 17, 2021 · 4 comments
Closed

Impossible to configure logging format when using zap logger #13295

socketpair opened this issue Aug 17, 2021 · 4 comments

Comments

@socketpair
Copy link

socketpair commented Aug 17, 2021

zap logger is the best, but unfortunately it's impossible in Etcd server to change logging format. zap logger is able to log as plaintext, but JSON format settings is hardcoded in Etcd. Please add an option to change format to "console" i.e. plaintext. My use case is logging to Journald. It's not convenient for me to log JSONs to journald.

@stale
Copy link

stale bot commented Nov 15, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 15, 2021
@socketpair
Copy link
Author

Still actual

@stale stale bot removed the stale label Nov 15, 2021
@hexfusion
Copy link
Contributor

fixed via #13339

@hexfusion
Copy link
Contributor

etcd --log-format console

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