mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdmain: use default formatter
The default formatter would use syslog style when running under init system, and would use pretty format otherwise.
This commit is contained in:
parent
48e36bbb84
commit
6c58333969
@ -72,7 +72,6 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Main() {
|
func Main() {
|
||||||
capnslog.SetFormatter(capnslog.NewStringFormatter(os.Stderr))
|
|
||||||
cfg := NewConfig()
|
cfg := NewConfig()
|
||||||
err := cfg.Parse(os.Args[1:])
|
err := cfg.Parse(os.Args[1:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user