Kamal Logs

Episode #488 by Teacher's Avatar David Kimura

Summary

In this episode we will look at shipping our application logs to a third party service. There are many ways to do this, but since we're using Kamal, we'll explore the most unobtrusive way without adding any gems.
rails kamal infrastructure 12:06

Chapters

  • Introduction (0:00)
  • Talking about the old gem (3:02)
  • Looking up Kamal documentation (3:42)
  • Configuring the deploy.yml (4:14)
  • Looking at the Docker documentation (5:10)
  • Adding the driver and config to deploy.yml (6:02)
  • Deploying the logger (6:46)
  • Searching on a request ID (8:03)
  • Adding params in the request (8:24)
  • Rails Log Level (8:45)
  • Final thoughts (11:20)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams