From dddf376a0409d24c3d2236914dab2de14caad960 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Wed, 22 Jun 2016 15:20:56 -0700 Subject: [PATCH] use microsecond granularity --- command/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent.go b/command/agent/agent.go index 5fe1b8567..819848d66 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -61,7 +61,7 @@ type Agent struct { func NewAgent(config *Config, logOutput io.Writer) (*Agent, error) { a := &Agent{ config: config, - logger: log.New(logOutput, "", log.LstdFlags), + logger: log.New(logOutput, "", log.LstdFlags|log.Lmicroseconds), logOutput: logOutput, shutdownCh: make(chan struct{}), }