heroku logs --ps run showign nothing
Posted
by
Zarne Dravitzki
on Stack Overflow
See other posts from Stack Overflow
or by Zarne Dravitzki
Published on 2012-08-30T03:34:39Z
Indexed on
2012/08/30
3:38 UTC
Read the original article
Hit count: 227
I have two running apps on heroku staging and production.
They are near identical enviornments. (Staging has extra configs IE RailsFootnotes, Bullet gem)
When I run
heroku logs --ps run --app jl-staging
Returns as logs like
2012-08-30T01:30:42+00:00 heroku[run.1]: Starting process with command `bundle exec rake jewellover:warn_users`
This log is a Task set to run with Heroku Schedular Free.
Everything Works perfect but when I do the same with
heroku logs --ps run --app jl-production
There are no results. No heroku[run.1] process logs. Both environments have the same scheduled tasks, albeit at different times but none the less both run scheduled tasks at specified times.
Is there something im missing about heroku[run.1] processes in production env? Does heroku only keep the -ps logs for a certain amount of time? It seems to show less activity than the normal logs. Maybe only show 24hrs worth of logs rather than Last 100 logs...
I need to log and debug the [run.1] process from the production env... specifically the jewellover:warn_users task.
any ideas?
© Stack Overflow or respective owner