From 345666bdb6661129f5f0b46e29e2f6620951017b Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Wed, 31 May 2017 09:54:09 +0200 Subject: [PATCH] test: use test name as log prefix --- command/agent/testagent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/testagent.go b/command/agent/testagent.go index 8b483494b5..a7806d4060 100644 --- a/command/agent/testagent.go +++ b/command/agent/testagent.go @@ -154,7 +154,7 @@ func (a *TestAgent) Start() *TestAgent { } agent.LogOutput = logOutput agent.LogWriter = a.LogWriter - agent.logger = log.New(logOutput, id, log.LstdFlags) + agent.logger = log.New(logOutput, a.Name+" - ", log.LstdFlags) // we need the err var in the next exit condition if err := agent.Start(); err == nil {