Hello Team,
I have this config to add json logging ,but it does not deploy lambda with json logging
provider:
name: aws
deploymentMethod: direct
runtime: <+serviceVariables.LambdaRuntime>
profile: default
versionFunctions: <+serviceVariables.LambdaVersionFunction>
deploymentPrefix: <+serviceVariables.AppCI>
logRetentionInDays: <+stage.spec.execution.steps.export.output.outputVariables.LambdaLogRetentionInDays>
vpc:
securityGroupIds:
- ${self:custom.securityGroups, “”}
subnetIds:
${split(${self:custom.subnets}, ‘,’)}
logs:
lambda:
logFormat: JSON
applicationLogLevel: ERROR
systemLogLevel: INFO