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:
Xiang Li 2015-08-10 13:38:19 -07:00
parent 48e36bbb84
commit 6c58333969

View File

@ -72,7 +72,6 @@ var (
)
func Main() {
capnslog.SetFormatter(capnslog.NewStringFormatter(os.Stderr))
cfg := NewConfig()
err := cfg.Parse(os.Args[1:])
if err != nil {