How can i read a log from a local file in heroku? -


i have deployed app on heroku stores logs in local file, possible retrieve/read single file heroku?

one approach use store each log in database table.

then, take dump of database on heroku can load on local machine.

see https://devcenter.heroku.com/articles/heroku-postgres-import-export

for moving backup local machine:

$ heroku pgbackups:capture $ curl -o latest.dump `heroku pgbackups:url` 

which can loaded local database.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -