aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/simulation.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-01-08 17:19:37 +0800
committerGitHub <noreply@github.com>2019-01-08 17:19:37 +0800
commit87140e484160e3bec8ee6c26dde80ca8e99efbd3 (patch)
tree175b629b8e06ac9701d8ceebf53226fec742aa89 /simulation/simulation.go
parentc2f02dcd02c8bf50321ba8d742ebfaf2ab74f8d2 (diff)
downloaddexon-consensus-87140e484160e3bec8ee6c26dde80ca8e99efbd3.tar
dexon-consensus-87140e484160e3bec8ee6c26dde80ca8e99efbd3.tar.gz
dexon-consensus-87140e484160e3bec8ee6c26dde80ca8e99efbd3.tar.bz2
dexon-consensus-87140e484160e3bec8ee6c26dde80ca8e99efbd3.tar.lz
dexon-consensus-87140e484160e3bec8ee6c26dde80ca8e99efbd3.tar.xz
dexon-consensus-87140e484160e3bec8ee6c26dde80ca8e99efbd3.tar.zst
dexon-consensus-87140e484160e3bec8ee6c26dde80ca8e99efbd3.zip
simulation: fix k8s simulation stuff (#410)
* simulation: fix k8s simulation stuff * Default K to 0
Diffstat (limited to 'simulation/simulation.go')
-rw-r--r--simulation/simulation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/simulation.go b/simulation/simulation.go
index 10ccb4c..938b302 100644
--- a/simulation/simulation.go
+++ b/simulation/simulation.go
@@ -61,7 +61,7 @@ func Run(cfg *config.Config, logPrefix string) {
mw = io.MultiWriter(os.Stderr, f)
}
logger := log.New()
- logger.SetHandler(log.StreamHandler(mw, log.LogfmtFormat()))
+ logger.SetHandler(log.StreamHandler(mw, log.TerminalFormat(false)))
return logger
}