From 85aa360843fd2acb3431dfad55c64c36316472bb Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Thu, 29 Jun 2017 13:09:12 +0200 Subject: [PATCH] agent: refactor: log to stderr during tests --- agent/consul/acl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/consul/acl.go b/agent/consul/acl.go index c17fbdf7c..7845ab53d 100644 --- a/agent/consul/acl.go +++ b/agent/consul/acl.go @@ -318,7 +318,7 @@ type aclFilter struct { // newACLFilter constructs a new aclFilter. func newACLFilter(acl acl.ACL, logger *log.Logger, enforceVersion8 bool) *aclFilter { if logger == nil { - logger = log.New(os.Stdout, "", log.LstdFlags) + logger = log.New(os.Stderr, "", log.LstdFlags) } return &aclFilter{ acl: acl,