mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
parent
d6f7e5e72e
commit
90ceecd00d
@ -237,7 +237,7 @@ Object.defineProperties(
|
||||
}
|
||||
this.config.accessLogFormat =
|
||||
userLogsConfig.format ||
|
||||
`{${JSON.stringify({
|
||||
`${JSON.stringify({
|
||||
requestId: '$context.requestId',
|
||||
ip: '$context.identity.sourceIp',
|
||||
requestTime: '$context.requestTime',
|
||||
@ -246,7 +246,7 @@ Object.defineProperties(
|
||||
status: '$context.status',
|
||||
protocol: '$context.protocol',
|
||||
responseLength: '$context.responseLength',
|
||||
})}}`;
|
||||
})}`;
|
||||
}
|
||||
|
||||
if (userConfig.timeout) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user