mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
agent: refactor: log to stderr during tests
This commit is contained in:
parent
2afafe6911
commit
a0368e3827
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user