agent: refactor: log to stderr during tests

This commit is contained in:
Frank Schroeder 2017-06-29 13:09:12 +02:00 committed by Frank Schröder
parent 865a825116
commit 85aa360843
1 changed files with 1 additions and 1 deletions

View File

@ -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,