How to view Rails app logs on Kamal?

less than 1 minute read

With the introduction of aliases in Kamal 2.0 it’s easier to check the Rails app logs.

Kamal setup provides a default aliases for logs. But, if it’s not available, you can add your own aliases to the deploy.yml file.

aliases:
  logs: app logs -f

and then run the following command:

$ kamal logs

INFO Following logs on 37.xx.xxx.xx.

Tags: ,

Updated: