When you do
console.log('Loading function');
in the Amazonian lambda function, where does it go?
My api gateway setup lambda function nodejs6.10 curl https://n2tredacted.execute-api.us-east-1.amazonaws.com/prod/redactedFunc
AWS Lambda logs are written to CloudWatch logs . Here's how to access them :
CloudWatch AWS, :
2 -.
1 ( CLI ):
:
sls logs -f myFunctionName -t
-f , -t - .
2 ( CloudWatch):
CloudWatch , , "". .
Cloudwatch> awscli:
aws logs get-log-events --log-group-name /aws/lambda/my_group_name_here --log-stream-name stream_name_here
, $, \
API Gateway, console.log Test of API. : .
, .
Source: https://habr.com/ru/post/1620343/More articles:AWS Cloudwatch Lambda Log Filter - amazon-web-servicesArea name not displayed on d3 map - javascripttailings aws lambda / cloud logs - amazon-cloudwatchCan I replace a specific character with another CMake character? - c ++The shell background script cannot reach directories after ssh exits, even with nohup - linuxRounded end cap of 2d lines in unity5 - androidonclick div or oncontext only works once after loading webview in cocoa - javascriptDownload the file through proxy java - javaGo to: Log in when starting the server - httpЭлементы крепления и элементы li css - jqueryAll Articles