agent: refactor: log to stderr during tests
This commit is contained in:
parent
865a825116
commit
85aa360843
|
@ -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…
Reference in New Issue