java - Recommendation for Logging data in AWS Lambda -


aws lambda supports 2 ways logging, when lambda function written in java.

  • log4j
  • lambdalogger

i want know if advantage of using 1 logging scheme on other.

thanks!

what understood aws lambda java logging , searching around net is

  • log4j

    • pros: can customize logs(using log4j.properties).
    • cons: increase size of jar/zip add more dependency project
  • lambdalogger

    • pros: saves memory embeded on dependencies
    • cons: can't customizable

i hope helps!


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -