Sfoglia il codice sorgente

etcdmain: use default formatter

The default formatter would use syslog style when running
under init system, and would use pretty format otherwise.
Xiang Li 10 anni fa
parent
commit
6c58333969
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      etcdmain/etcd.go

+ 0 - 1
etcdmain/etcd.go

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