{"agent":"claude","input":"A Linear issue labelled agent asks for structured logging in this Serverless Framework service. Read serverless.yml, package.json, handler.js and README.md first and list every console.log or console.error call, what each logs, and what context is missing from it such as the request id or the record key. Add the Powertools for AWS Lambda logger as a dependency, set POWERTOOLS_SERVICE_NAME and POWERTOOLS_LOG_LEVEL in the provider environment, and use serverless-http's request option to pass the Lambda event and context into Express. Add a middleware that creates a per-request child logger with the AWS request id, method and path, attaches it to the request, and writes one access log line with the status on finish. Replace every console call with the request logger, attaching the error and the identifier involved, and log the 404 fallback at warn. Export the Express app, add a test script on Node's built-in test runner, and write a test that exercises routes which do not reach DynamoDB, captures stdout and asserts each line is JSON with the expected fields. Run npm install and npm test. Add a Logging section to the README with one example line and a Logs Insights filter. Do not fix unrelated bugs, but report any you find. Open a pull request that links the issue, lists each log site before and after, and quotes the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}