From 95e8f795df759e8cb46d8e95c012ec13aa4d8482 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 906093379..c4eea9703 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 }