From 560c9c26f7d18b23306f5c1c9a5767fc264857c1 Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Thu, 19 Jul 2018 11:22:01 -0400 Subject: [PATCH] Use the agent logger instead of log module --- agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/agent.go b/agent/agent.go index 906093379a..c4eea97038 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -1803,7 +1803,7 @@ func (a *Agent) RemoveService(serviceID string, persist bool) error { } } - log.Printf("[DEBUG] agent: removed service %q", serviceID) + a.logger.Printf("[DEBUG] agent: removed service %q", serviceID) return nil }