calvin-brand-light-mode
calvin-brand-dark-mode
∕
⌘K
About Calvin Podcast We Can Do This Book Speaking
aAbout Calvin
Podcast
wWe Can Do This Book
sSpeaking
Back

Filter Rails log by IP

Other
Calvin Correli·Jun 26, 2007· 1 minute

Here’s a snippet of code for a Rake task that will filter your Rails log by IP address, so you can quickly follow a single user’s session.

Run it with rake log:for IP=10.20.30.40

Previous A serendipitous day
Next Knowing which screw to turn

Comments

Write a comment...
00:00 Recording...
calvin-brand-light-mode
calvin-brand-dark-mode
1 Chestnut Hill Plaza #1139
Newark, DE 19713
United States
Copyright © 2026 Calvin Correli
powered by