Can I get Heroku Logs to return only lines outlining errors?

前端 未结 7 2573
眼角桃花
眼角桃花 2021-02-19 03:33

The heroku logs are a great resource to check what happened to your app when things go wrong.. Unfortunately, they also log a great deal of information. Is there some way I can

7条回答
  •  余生分开走
    2021-02-19 04:05

    Take a look at some of the logging addons - I use PaperTrail with much success but the others like Loggly and Progstr Logging will offer similar services.

    Essentially you drain your logs into their services and they provide the ability to perform realtime searches against your logs and then you can handle it - most will offer some kind of notification either via campfire, email, text message or a simple HTTP post into some other application to handle the error message.

提交回复
热议问题