Skip to content

Commit 78475ac

Browse files
VIA-347 AS Enable debug log level for test env
1 parent 4348814 commit 78475ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

infrastructure/environments/test/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ locals {
2828
application_environment_variables = {
2929
SSM_PREFIX = "/${local.prefix}/"
3030

31-
PINO_LOG_LEVEL = "info"
31+
PINO_LOG_LEVEL = "debug"
3232
DEPLOY_ENVIRONMENT = local.environment
3333
PROFILE_PERFORMANCE = "true"
3434

src/utils/auth/apim/fetch-apim-access-token.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const fetchAPIMAccessToken = async (idToken: IdToken): Promise<ApimTokenResponse
3434
throw new ApimHttpError(`Error getting APIM token`);
3535
} else {
3636
log.error({ error }, `Error generating APIM token request`);
37+
log.error(error, `Error generating APIM token request 2`);
3738
throw new ApimAuthError(`Error getting APIM token`);
3839
}
3940
}

0 commit comments

Comments
 (0)