Skip to content

Commit

Permalink
add LoggingConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Nov 21, 2023
1 parent 3e1049a commit 4bb2090
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,12 @@ function.json is a definition for Lambda function. JSON structure is based from
}
],
"Handler": "index.js",
"LoggingConfig": {
"ApplicationLogLevel": "DEBUG",
"LogFormat": "JSON",
"LogGroup": "/aws/lambda/hello_json_log",
"SystemLogLevel": "INFO"
},
"MemorySize": 128,
"Role": "arn:aws:iam::123456789012:role/hello_lambda_function",
"Runtime": "nodejs18.x",
Expand Down

0 comments on commit 4bb2090

Please # to comment.