Skip to content

Commit

Permalink
fix: set field log level to none
Browse files Browse the repository at this point in the history
  • Loading branch information
nikovirtala committed Aug 2, 2022
1 parent 3af9b63 commit d102d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,10 +643,11 @@ export class GraphqlApi extends GraphqlApiBase {
ManagedPolicy.fromAwsManagedPolicyName('service-role/AWSAppSyncPushToCloudWatchLogs'),
],
}).roleArn;
const fieldLogLevel: FieldLogLevel = config.fieldLogLevel ?? FieldLogLevel.NONE;
return {
cloudWatchLogsRoleArn: logsRoleArn,
excludeVerboseContent: config.excludeVerboseContent,
fieldLogLevel: config.fieldLogLevel,
fieldLogLevel: fieldLogLevel,
};
}

Expand Down

0 comments on commit d102d3f

Please sign in to comment.