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