Git Product home page Git Product logo

Comments (2)

armanbilge avatar armanbilge commented on July 22, 2024

Logging seems to work with my setup in armanbilge/sandbox@cf909c5.

$ sam local invoke
Invoking MyLambda (java17)                                                                                                     
Decompressing /workspace/sandbox/lambda.jar                                                                                    
Local image is up-to-date                                                                                                      
Using local image: public.ecr.aws/lambda/java:17-rapid-x86_64.                                                                 
                                                                                                                               
Mounting /tmp/tmpssns_67h as /var/task:ro,delegated, inside runtime container                                                  
START RequestId: 852ef67f-b7e7-475c-bcda-3730d292f621 Version: $LATEST
trying to log something
trying to log something else
END RequestId: 852ef67f-b7e7-475c-bcda-3730d292f621
REPORT RequestId: 852ef67f-b7e7-475c-bcda-3730d292f621  Init Duration: 0.12 ms  Duration: 797.27 ms     Billed Duration: 798 msMemory Size: 128 MB     Max Memory Used: 128 MB
{}

from feral.

keuhdall avatar keuhdall commented on July 22, 2024

Turns out the issue was coming from Handler: hawk.Lambda::handler, which should either be just the main class (Handler: hawk.Lambda), or using handleRequest (Handler: hawk.Lambda::handleRequest)

from feral.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.