Logentries with heroku not displaying Exceptions - heroku

I'm very new to logentries and still learning. I'm using logentries with heorku.
I used to see a list of Exceptions but now it constantly says "0" even with there are plenty.
What can I do for logentries to show me an aggregated view of the exceptions.

Logentries has been removed by Heroku Addons.
These are the alternatives you can try
If you want to use heroku addon only, you can use logtail
Otherway, you can use logentries directly without using heroku addon.
Thanks

Related

Using multiple Heroku logging add-ons simultaneously

Is it ok to simultaneously use both Papertrail and LogEntries logging with the same Heroku application, or could that cause issues?
In short: there shouldn't be any issue. As stated in the logplex documentation, there can be as many log-drains as you want, starting just from the CLI, going over to custom log-drains, and addons as you wish.

Heroku logs cluttered

I just started using Heroku for one of my node apps.
When I run the heroku logs command it is so cluttered that i cant pick out the data I want from all the other information I don't need.
Is there a way to clean up that log output so it's more human friendly?
It's like it just dumps a wall of text at me.
Thanks!
I am using Papertrail add-on on Heroku for viewing the logs.
It has a free plan which is enough for small application. It gives you flexibility for searching your logs by text and time. A browser URL is provided by Papertrail to view the logs, which is convenient to access from mobile also. Adding this add-on to your application is quite simple, no app changes are required. Below filters are available out of the box on its dashboard to view the logs-
All events
Deploys
Dyno state changes
Platform errors
Web app output

Same add-on for multiple Heroku apps

What are the best practices with Heroku add-ons? I manage multiple Heroku apps. I want them to share a common add-on. how to do that?
For example, first I signed up for Mandrill on their website. When I added Mandrill add-on on Heroku, they created a new Mandril account for me. I wanted to merge them but Mandril support said that they can't merge accounts!
Another example, I added Logentries add-on to one Heroku app. A Logentries account was created. Then I added another Logentries add-on to another Heroku app, then another Logentries account was created.
It's getting messy. Am I doing it right? How to make several Heroku apps share one add-on account?
Sharing add-ons between apps is possible.
Once the add-on is added to one of the apps, an environment variable will be created containing the account information. You can copy the variable to other apps and they will start sharing the same 3rd party resource.
The add-on will remain listed only under the first app, where it was initially added, but this will not prevent the other apps to use it.
In the general case it isn't possible to share add-ons between Heroku apps. However with some specific add-ons this is possible, depending on the add-on.
For example with Logentries you can have one Logentries account and then configure each Heroku app to send its logs to Logentries via a syslog drain.
https://logentries.com/doc/heroku/ (See the "Alternatively: Point your syslog drain to Logentries" section)
To set up syslog drain, you have to create a new log in Logentries UI
with the source type “Syslog TCP, UDP” (select Hosts, then click on a
button in right top corner). Logentries will assign you a port number
PORT and set the log in discovery mode to match your log with source.
Then, let Heroku know where to send you log entries. Add a Heroku
syslog drain and point it at api.logentries.com:PORT:
heroku drains:add syslog://api.logentries.com:PORT
Yes, you're doing it right. Each Heroku app is a separate instance and will get its own add-ons. There is no way to share add-ons across multiple Heroku apps, as far as I know.

how to use the memcache add-on in heroku cedar?

I am in the process of (finally) migrating a small heroku app from the bamboo stack to cedar, following the migration guide.
All works well, except I am unable to reinstate the heroku memcache add-on.
Apparently this has been abandoned, or removed, but I cannot find any information about it, is my only option to switch to a different memcache-y add-on? Why did heroku discontinue this add-on?
the day after I submitted this question, heroku notified me and a bunch of other people:
Action Required: MEMCACHE ADD-ON IS SHUTTING DOWN
In the mail, they themselves suggest switching to memcachier, so that's about it.

Heroku web UI log viewer

I wonder if there is a more friendly way ( using some GUI) to view Heroku application's logs than through a console?
I think papertrail (heroku addon) is the best option, it is similar to console logs, with search, and you can achive the logs daily to amazon S3.
Not at the moment.
You can however use the logs drain add-on to pipe your applications to a running syslog on a separate server, like outlined in the heroku docs.
After that, you could use a tool like Splunk to analyze your logs in a nice Web UI.
Hope this helps.
The Loggly Heroku add-on might be a good option.

Resources