Back
Filter Rails log by IP
Other·Calvin Correli·Jun 26, 2007· 1 minutes

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