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?
to your account
Here is just 3 params about logging flag, --debug, --log-package-levels and --log-output. How can i redirect etcd log to file? Thank you for your attention.
The text was updated successfully, but these errors were encountered:
@dearboll have you tried redirecting stderr to a file?
Sorry, something went wrong.
I use systemd to manage my etcd process, which params will help to do that ? @heyitsanthony
If you run with systemd, all logs are handled via journald. You can do something like
journalctl -u YOUR_SERVICE.service -l --no-pager|less
I wanna specify the log file for etcd to do some log process, rather than all in syslog. So etcd cannot specify a log file ?
@dearboll etcd has no option to specify a log file, because it can be done without it (unix pipes, journald). You can store journald logs on disk with
And do the log processing
Successfully merging a pull request may close this issue.