From 9a26fa7989d80356a12fdf79d9b39136f15b937c Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Sun, 7 Nov 2021 10:40:05 +0000 Subject: [PATCH] Ensure logging is off for integration test commands --- integration_common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_common_test.go b/integration_common_test.go index d52d7eb4..71d48669 100644 --- a/integration_common_test.go +++ b/integration_common_test.go @@ -32,7 +32,7 @@ func ExecuteCommand(resource *dockertest.Resource, cmd []string, env []string) ( exitCode, err := resource.Exec( cmd, dockertest.ExecOptions{ - Env: append(env, "LOG_LEVEL=error"), + Env: append(env, "HEADSCALE_LOG_LEVEL=disabled"), StdOut: &stdout, StdErr: &stderr, },