dtttlua7165 2018-01-08 21:02
浏览 57

如何“登录” Amazon Beanstalk?

I've deployed an application and enabled cloudwatch. The issue is that stderr from the application running is not displayed in cloudwatch? How am I supposed to view the logs generated by my app? All I see are the logs from the builder and nginx/proxy in front of my app.

/aws/elasticbeanstalk/Default-Environment/var/log/eb-activity.log
/aws/elasticbeanstalk/Default-Environment/var/log/nginx/access.log
/aws/elasticbeanstalk/Default-Environment/var/log/nginx/error.log
  • 写回答

1条回答 默认 最新

  • douyi6922 2018-01-09 01:06
    关注

    Go logging is broken on beanstalk. THat's because cloudwatch doesn't collect the web logs (i.e. web-1.error.log) . You can see it on aws docs...it collects only the ebl and nginx/proxy logs. As this great cloud is not open source nobody but Amazon can ever fix it(if they decide to do so).

    https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.cloudwatchlogs.html

    评论

报告相同问题?

悬赏问题

  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥15 帮我写一个c++工程