Devops

How to tail -f Ruby on Rails application logs on dokku server

This minipost contains the easy command to tail -f your production application logs on a dokku server.

In order to access your production logs on dokku server for a Ruby on Rails application, connect with ssh to your dokku server:

$ ssh deploy@<ubuntu-server-ip-address>

(How to create a deploy user on Ubuntu server)

And then tail your production logs with:

$ dokku logs appname -t

(Change appname with your application name on dokku server)

You will now be able to see your application logs in your console.

Additional information:

Buy Me A Coffee

Read also the following