Browse Source

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 years ago
parent
commit
6c58333969
1 changed files with 0 additions and 1 deletions
  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 {