diff --git a/vault/expiration_test.go b/vault/expiration_test.go index ecd9e101d6eb..6660f2068b63 100644 --- a/vault/expiration_test.go +++ b/vault/expiration_test.go @@ -47,7 +47,8 @@ func TestExpiration_Tidy(t *testing.T) { }) testCore := TestCore(t) - testCore.logger = logger + testCore.baseLogger = logger + testCore.logger = logger.Named("core") testCoreUnsealed(t, testCore) exp := testCore.expiration