*: set zap as default logger, remove capnslog

Set zap as default logger. Remove capnslog and deprecated logging
flags.
This commit is contained in:
jingyih
2020-02-03 07:35:47 -08:00
parent 53f15caf73
commit 725e09023a
11 changed files with 18 additions and 148 deletions

View File

@ -42,7 +42,6 @@ func setupEmbedCfg(cfg *embed.Config, curls, purls, ics []url.URL) {
cfg.Logger = "zap"
cfg.LogOutputs = []string{"/dev/null"}
// []string{"stderr"} to enable server logging
cfg.Debug = false
var err error
cfg.Dir, err = ioutil.TempDir(os.TempDir(), fmt.Sprintf("%016X", time.Now().UnixNano()))