How To Clear Heroku logs - heroku

There is another question here with the same topic but has not been answered properly, that's why I'm asking it again, the information in the answer is old and innacurate.
For example, heroku restart will not clear the logs and when running in Production mode it's not something you can do.
Is there any way to clear them at all?

Clearing the logs is not functionality that Heroku provide.

Related

How to stop Heroku CLI automatically logging me out?

After running heroku login on my work account, and putting work away for the weekend, each Monday I am told that I must log in again when running heroku commands.
This doesn't seem to happen for anybody else at the office, and nobody knows quite how or why. The Heroku documentation doesn't appear to be very helpful on the matter.
Does anybody know how I can stay logged in until I explicitly type heroku logout?

I use Quick.db in my Discord bot. Every time I deploy an update the db does not save, why is this and how do I fix it?

So... I use quick.db for my Discord bot's Economy System. It's all perfectly set up however every time I deploy an another update for my Discord bot from Github, the db does not save, and everyone's stats across everyone's server reset back to 0, why is this? Someone told me that it's because Heroku doesn't save "persistent" data, but I have hopes for a solution. Please let me know if there is any way to resolve this, and what the problem is, many thanks in advance.
That's because Heroku Dyno Storage is "Ephemeral" which means that every day the db will be reset because it is taken again from your github or from where it's deploying

Using Heroku for production

This help site (http://www.howtoinstallghost.com/how-to-install-ghost-on-heroku/) says that "Heroku should not be used for production!". What could the possible reasons for them saying this be?
I just want to set up a simple blog.
Thank you in advance.
From the same page;
Why do you only recommend Heroku for testing?
If you upload any images to your Ghost blog hosted on Heroku they will eventually be lost because of the ephemeral filesystem. There is no warning about this so we do not currently recommend anybody to use Heroku.
In other words, since any files you write to the file system at Heroku may go away at any time (and is not shared between instances of the blog if you try to scale out), you may lose all uploaded pictures at any time (once a month/once a minute, who knows) and need to upload them again.

Heroku postgres maintenance required alert, what to do?

I can see an alert on the heroku postgres console, see attached image.
It's not clear to me if I have to take some action to enable this maintenance or if this is something heroku will take care of. And it isn't clear neither where to look for help on this topic.
Do I have to worry about something?
You should have received an e-mail with more details (to the address associated with your account). We've added a FAQ with some clarifications. If you still have more questions, feel free to reach out to us via help.heroku.com.
Thanks,
Maciek
Heroku Postgres

Is it possible to set a spending limit on Heroku?

I have a Rails app deployed to Heroku on the Cedar Stack. I'd like to start running a nightly scheduled task, but in order to add the scheduler add-on, I need to give Heroku my credit card details.
I'm not sure how much this will end up costing, though, so I'd like to be able to set a spending limit on my Heroku account.
In other words, I'd like to be able to say "Please don't let me use dyno hours that will cost me more than $XXX per month".
Any ideas? Thanks!
I asked this same question on the Heroku forums. The answer is no, there is currently no way of setting a spending limit.
It is a feature they are considering implementing, though.
No, it's currently not possible to manage your cost natively with Heroku because they don't offer such feature at the moment.
However, there are a few third party solutions available. For example, the Heroku add-on cloudvertical claims to be able to track and analyse cloud infrastructure usage and costs.
There is also HireFire, a dyno manager.
If you search for Heroku scaling, or Heroku autoscaling, you will find a few solutions.
Disclaimer: I haven't tried them.

Resources